00001 #ifndef INTERCOM_MAIN_HPP
00002 #define INTERCOM_MAIN_HPP
00003 #ifndef __STRING__
00004 # include <string>
00005 #endif
00006
00007 namespace ztt
00008 {
00009 namespace dcs
00010 {
00011 class InterCom;
00012
00014 class Main
00015 {
00016 public:
00018 Main(int argc=0, char** argv=0);
00021 virtual int run();
00023 static int main(int argc=0, char** argv=0);
00024 protected:
00026 void unitTest(const std::string& what=std::string());
00028 InterCom* mIcLayer;
00030 std::string mUTests;
00031 };
00032 }
00033 }
00034 #endif
00035
00036
00037
00038
00039
00040