]> Creatis software - creaImageIO.git/blob - src/creaImageIOWxListenerPanel.h
cf667943feb7bd81eda7818325c0357d1e0235ba
[creaImageIO.git] / src / creaImageIOWxListenerPanel.h
1 #ifndef __creaImageIOWxListenerPanel_h_INCLUDED__
2 #define __creaImageIOWxListenerPanel_h_INCLUDED__
3
4 #ifdef USE_WXWIDGETS
5 #include <creaWx.h>
6 #include <creaImageIOWxGimmickView.h>
7
8
9 namespace creaImageIO
10 {
11   /**
12    * \ingroup GUI
13    */
14   //=====================================================================
15  //=====================================================================
16   class WxListenerPanel : public wxPanel
17   {
18   public:
19     WxListenerPanel();    
20         WxListenerPanel(wxWindow *parent, 
21                 wxDialog* dial,
22                 WxGimmickView* view,
23                 bool stat);
24     
25     ~WxListenerPanel();
26         ///Saves the configuration
27          void OnChangeListenState(wxCommandEvent& event);
28     ///Changes the thread state(start/stop)
29          void OnChangeThreadState(wxCommandEvent& event);
30         ///Changes the state of the add boolean
31          void OnAdd(wxCommandEvent& event);
32     ///Changes the state of the remove boolean
33          void OnRemove(wxCommandEvent& event);
34   
35
36   private :
37         bool addFiles;
38         bool removeFiles;
39         bool state;
40         wxCheckBox* addCheckBox;
41         wxCheckBox* removeCheckBox;
42         wxComboBox* drives;
43         wxDialog* dialog;
44         WxGimmickView* mView;
45
46
47   }; // class WxListener
48   //=====================================================================
49
50   
51 } // EO namespace creaImageIO
52
53
54 #endif // USE_WIDGETS
55 // EOF
56 #endif
57
58