X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxDropFiles.h;fp=packages%2Fwx%2Fsrc%2FbbwxDropFiles.h;h=e6a0f4314c7022879e2855769906e70ce8f88ca5;hb=427d8c0ac838ab789a57b28f62a7f9ff243e7b60;hp=0000000000000000000000000000000000000000;hpb=c2d2ccbc4bac635e5d0b802d9830efd94b060dab;p=bbtk.git diff --git a/packages/wx/src/bbwxDropFiles.h b/packages/wx/src/bbwxDropFiles.h new file mode 100644 index 0000000..e6a0f43 --- /dev/null +++ b/packages/wx/src/bbwxDropFiles.h @@ -0,0 +1,52 @@ +//===== +// 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) +//===== +#ifndef __bbwxDropFiles_h_INCLUDED__ +#define __bbwxDropFiles_h_INCLUDED__ +#include "bbwx_EXPORT.h" +#include "bbtkAtomicBlackBox.h" +#include "iostream" + +#include +#ifndef WX_PRECOMP +// Include your minimal set of headers here, or wx.h +#include +#endif +#include + +namespace bbwx +{ + +class bbwx_EXPORT DropFiles + : + public bbtk::AtomicBlackBox +{ + BBTK_BLACK_BOX_INTERFACE(DropFiles,bbtk::AtomicBlackBox); +//===== +// 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) +//===== + BBTK_DECLARE_INPUT(Widget,wxWindow*); + BBTK_DECLARE_OUTPUT(LstPaths,std::vector); + BBTK_PROCESS(Process); + void Process(); +//===== +// 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) +//===== +}; + +BBTK_BEGIN_DESCRIBE_BLACK_BOX(DropFiles,bbtk::AtomicBlackBox); + BBTK_NAME("DropFiles"); + BBTK_AUTHOR("InfoDev"); + BBTK_DESCRIPTION("No Description."); + BBTK_CATEGORY("empty"); + BBTK_INPUT(DropFiles,Widget,"wxWidget",wxWindow*,""); + BBTK_OUTPUT(DropFiles,LstPaths,"List of paths",std::vector,""); +BBTK_END_DESCRIBE_BLACK_BOX(DropFiles); +//===== +// 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) +//===== +} +// EO namespace bbwx + +#endif // __bbwxDropFiles_h_INCLUDED__ +