00001 // -*- c-basic-offset: 4 -*- 00002 00027 #include "Batch.h" 00028 00029 //Host application needed to use wxWidgets frame objects in console 00030 class HostApp : public wxApp 00031 { 00032 public: 00033 //Pseudo constructor 00034 virtual bool OnInit(); 00035 00036 //Initializes batch object 00037 void InitBatch(wxString path) 00038 { 00039 batch = new Batch(NULL,path,false); 00040 }; 00041 Batch* batch; 00042 }; 00043 00044 IMPLEMENT_APP(HostApp)
1.3.9.1