CCAFFEINE
0.8.8
|
00001 #ifndef CmdContextCCAMPI_h_seen 00002 #define CmdContextCCAMPI_h_seen 00003 00004 00005 // #include "util/IO.h" 00006 // #include "jc++/jc++.h" 00007 // #include "jc++/util/jc++util.h" 00008 00009 // #include "cmd/CmdContext.h" 00010 // #include "cmd/CmdAction.h" 00011 // #include "dc/user_iface/DefaultBuilderModel.h" 00012 // #include "dc/user_iface/CmdLineBuilderView.h" 00013 00018 #define PATHSEP_STRING "/" 00019 00021 #define CCAFE_RC_NAME ".ccaferc" 00022 00027 class CmdContextCCAMPI : public virtual CmdContextCCA { 00028 00029 public: 00030 00032 CmdLineBuilderView *bv; 00033 00036 CmdContextCCAMPI(CmdLineBuilderView *bv_, DefaultBuilderModel* bm, bool batch_=true); 00037 00040 CmdContextCCAMPI(FILE* out, CmdLineBuilderView *bv_, DefaultBuilderModel* bm, bool batch_=true); 00041 00042 virtual ~CmdContextCCAMPI(); 00043 00044 protected: 00045 00050 int initRC(); 00051 00061 CFREE virtual char *_readLine(int &readerr); 00062 00063 bool batch; 00064 00065 }; 00066 #endif //CmdContextCCAMPI_h_seen