]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxDropFiles.h
#2924 BBTK Feature New Normal - DropFiles box package wx #2804 BBTK Featur...
[bbtk.git] / packages / wx / src / bbwxDropFiles.h
1 //===== 
2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
3 //===== 
4 #ifndef __bbwxDropFiles_h_INCLUDED__
5 #define __bbwxDropFiles_h_INCLUDED__
6 #include "bbwx_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <wx/wxprec.h>
11 #ifndef WX_PRECOMP
12 // Include your minimal set of headers here, or wx.h
13 #include <wx/wx.h>
14 #endif
15 #include <wx/window.h>
16
17 namespace bbwx
18 {
19
20 class bbwx_EXPORT DropFiles
21  : 
22    public bbtk::AtomicBlackBox
23 {
24   BBTK_BLACK_BOX_INTERFACE(DropFiles,bbtk::AtomicBlackBox);
25 //===== 
26 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
27 //===== 
28   BBTK_DECLARE_INPUT(Widget,wxWindow*);
29   BBTK_DECLARE_OUTPUT(LstPaths,std::vector<std::string>);
30   BBTK_PROCESS(Process);
31   void Process();
32 //===== 
33 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(DropFiles,bbtk::AtomicBlackBox);
38   BBTK_NAME("DropFiles");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("empty");
42   BBTK_INPUT(DropFiles,Widget,"wxWidget",wxWindow*,"");
43   BBTK_OUTPUT(DropFiles,LstPaths,"List of paths",std::vector<std::string>,"");
44 BBTK_END_DESCRIBE_BLACK_BOX(DropFiles);
45 //===== 
46 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
47 //===== 
48 }
49 // EO namespace bbwx
50
51 #endif // __bbwxDropFiles_h_INCLUDED__
52