source:
Sophya/trunk/SophyaPI/PIext/cxxexecwin.h@
2850
| Last change on this file since 2850 was 1297, checked in by , 25 years ago | |
|---|---|
| File size: 1.8 KB | |
| Rev | Line | |
|---|---|---|
| [1251] | 1 | // This may look like C code, but it is really -*- C++ -*- |
| 2 | // Classe CxxExecWind : Control Window for CxxExecutor | |
| 3 | // Classe CxxOptionWind : Option Window for CxxExecutor | |
| 4 | // (c) DAPNIA (CEA) LAL (IN2P3/CNRS) | |
| [1269] | 5 | // R. Ansari C.Magneville 10/2000 |
| [1251] | 6 | |
| 7 | #ifndef CXXEXECWIN_H_SEEN | |
| 8 | #define CXXEXECWIN_H_SEEN | |
| 9 | ||
| 10 | #include "machdefs.h" | |
| 11 | ||
| 12 | #include "pisysdep.h" | |
| 13 | #include "pistdimgapp.h" | |
| 14 | ||
| 15 | #include PISTDWDG_H | |
| 16 | #include PIWIN_H | |
| 17 | ||
| 18 | class CxxExecutor; | |
| 19 | ||
| [1269] | 20 | //----------------------------------------------------------------------- |
| 21 | //----------------------------------------------------------------------- | |
| 22 | //----------------------------------------------------------------------- | |
| [1251] | 23 | class CxxExecWind : public PIWindow { |
| 24 | public : | |
| 25 | CxxExecWind(PIStdImgApp* par, CxxExecutor * cxxexec); | |
| 26 | ~CxxExecWind(); | |
| 27 | virtual void Show(); | |
| 28 | virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL); | |
| 29 | ||
| 30 | private: | |
| [1269] | 31 | virtual void filefrstring(string filename,string& code); |
| 32 | virtual string stringfrfile(string filename); | |
| [1251] | 33 | PIStdImgApp* dap; |
| 34 | CxxExecutor* cxxex; | |
| [1269] | 35 | PILabel * mLab[5]; |
| 36 | PIButton * mBut[10]; | |
| 37 | PIText * mText[4]; | |
| [1251] | 38 | PIFileChooser * pfc; // Pour les fichiers user C++ |
| [1269] | 39 | string mFName[2]; |
| 40 | }; | |
| [1251] | 41 | |
| [1269] | 42 | //----------------------------------------------------------------------- |
| 43 | //----------------------------------------------------------------------- | |
| 44 | //----------------------------------------------------------------------- | |
| [1251] | 45 | class CxxOptionWind : public PIWindow { |
| 46 | public : | |
| 47 | CxxOptionWind(PIStdImgApp* par, CxxExecutor * cxxexec); | |
| 48 | ~CxxOptionWind(); | |
| 49 | virtual void Show(); | |
| 50 | virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL); | |
| 51 | ||
| 52 | private: | |
| [1269] | 53 | PIStdImgApp * dap; |
| 54 | CxxExecutor * cxxex; | |
| [1251] | 55 | PILabel * mTit; |
| [1297] | 56 | PILabel * mLab[5]; |
| [1251] | 57 | PIButton * mBut[3]; |
| [1297] | 58 | PIText * mText[5]; |
| [1269] | 59 | }; |
| [1251] | 60 | |
| 61 | ||
| 62 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)