[Compbench-devel] CompBenchmarks++/libcompbenchmarks/UI UI.cpp, 1.8, 1.9 UI.h, 1.7, 1.8 UI-Msg.cpp,
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-06-06 17:52:52
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/UI In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv15592 Modified Files: UI.cpp UI.h UI-Msg.cpp UI-Msg.h Log Message: New messages handled. Index: UI.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/UI/UI.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** UI.h 6 Jun 2007 15:55:07 -0000 1.7 --- UI.h 6 Jun 2007 17:39:19 -0000 1.8 *************** *** 51,54 **** --- 51,55 ---- virtual UIMsg *msgUninstall(std::string _name); virtual UIMsg *msgBench(std::string _name); + virtual UIMsg *msgGroup(std::string _name); virtual UIMsg *outputInfo(std::string _text); Index: UI.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/UI/UI.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** UI.cpp 6 Jun 2007 15:55:07 -0000 1.8 --- UI.cpp 6 Jun 2007 17:39:19 -0000 1.9 *************** *** 198,201 **** --- 198,209 ---- } + UIMsg *UI::msgGroup(std::string _name) + { + UIMsg *msg = new UIMsgGroup(_name); + postMsg(msg); + + return(msg); + } + UIMsg *UI::outputInfo(std::string _test) { Index: UI-Msg.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/UI/UI-Msg.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** UI-Msg.h 6 Jun 2007 15:54:38 -0000 1.1 --- UI-Msg.h 6 Jun 2007 17:39:19 -0000 1.2 *************** *** 46,49 **** --- 46,50 ---- UndefAction, ShellCommand, + Group, Create, Read, Write, Remove, Checksum, PackageInstall, PackageUninstall, *************** *** 197,200 **** --- 198,208 ---- virtual ~UIMsgBench(); }; + + class UIMsgGroup : public UIMsg { + public: + UIMsgGroup(std::string _name); + + virtual ~UIMsgGroup(); + }; } Index: UI-Msg.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/UI/UI-Msg.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** UI-Msg.cpp 6 Jun 2007 15:54:38 -0000 1.1 --- UI-Msg.cpp 6 Jun 2007 17:39:19 -0000 1.2 *************** *** 291,292 **** --- 291,303 ---- } + UIMsgGroup::UIMsgGroup(std::string _name) + : UIMsg() + { + addObject(UndefObject, _name); + addAction(Group); + } + + UIMsgGroup::~UIMsgGroup() + { + } + |