//=====
void DropFiles::Process()
{
-
// THE MAIN PROCESSING METHOD BODY
// Here we simply set the input 'In' value to the output 'Out'
// And print out the output value
// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
-
if (bbGetInputWidget()!=NULL)
{
bbGetInputWidget()->SetDropTarget( new WxDropFiles(this) );
}
-
+ bbSetOutputLstPaths( bbGetInputLstPaths() );
}
-//=====
+
+//=====
// 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)
//=====
void DropFiles::bbUserSetDefaultValues()
{
-
// SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
// Here we initialize the input 'In' to 0
bbSetInputWidget(NULL);
-
}
-//=====
+
+//=====
// 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)
//=====
void DropFiles::bbUserInitializeProcessing()
{
-
// THE INITIALIZATION METHOD BODY :
// Here does nothing
// but this is where you should allocate the internal/output pointers
-// if any
-
-
+// if any
}
-//=====
+
+//=====
// 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)
//=====
void DropFiles::bbUserFinalizeProcessing()
{
-
// THE FINALIZATION METHOD BODY :
// Here does nothing
// but this is where you should desallocate the internal/output pointers
// if any
-
-}
}
-// EO namespace bbwx
+
+}// EO namespace bbwx
// 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_INPUT(LstPaths,std::vector<std::string>);
BBTK_DECLARE_OUTPUT(LstPaths,std::vector<std::string>);
BBTK_PROCESS(Process);
void Process();
BBTK_DESCRIPTION("No Description.");
BBTK_CATEGORY("empty");
BBTK_INPUT(DropFiles,Widget,"wxWidget",wxWindow*,"");
+ BBTK_INPUT(DropFiles,LstPaths,"Input init List Paths", std::vector<std::string> ,"");
BBTK_OUTPUT(DropFiles,LstPaths,"List of paths",std::vector<std::string>,"");
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
+} // EO namespace bbwx
#endif // __bbwxDropFiles_h_INCLUDED__