[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Base Config.cpp, 1.8, 1.9 Config.h, 1.5, 1.6
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-01-25 22:16:07
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Base In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv23710 Modified Files: Config.cpp Config.h Log Message: Access to the CBM::Plan XML node. Index: Config.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Base/Config.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Config.h 25 Jan 2007 20:37:55 -0000 1.5 --- Config.h 25 Jan 2007 22:15:59 -0000 1.6 *************** *** 42,45 **** --- 42,46 ---- Config(std::string _filename); + virtual XMLNode *planNode(void); virtual CBM::Package::Status getStatus(std::string _bid); Index: Config.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Base/Config.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Config.cpp 25 Jan 2007 20:37:55 -0000 1.8 --- Config.cpp 25 Jan 2007 22:15:59 -0000 1.9 *************** *** 10,14 **** #include <Base/XMLReader.h> - #include <Plan/Plan.h> #include <UI/UI.h> --- 10,13 ---- *************** *** 64,67 **** --- 63,71 ---- } + CBM::XMLNode *Config::planNode(void) + { + return(plan); + } + int Config::verifyPatchDirectory(std::string dir) { *************** *** 358,361 **** --- 362,367 ---- { delete(plan); + changes=1; + plan=_plan; root->add(_plan); } |