25 #ifndef WITEMSELECTION_H
26 #define WITEMSELECTION_H
32 #include <boost/tuple/tuple.hpp>
33 #include <boost/shared_ptr.hpp>
34 #include <boost/signals2/signal.hpp>
35 #include <boost/enable_shared_from_this.hpp>
37 #include "WSharedSequenceContainer.h"
38 #include "WItemSelectionItem.h"
39 #include "WExportCommon.h"
50 class OWCOMMON_EXPORT
WItemSelection:
public boost::enable_shared_from_this< WItemSelection >,
58 typedef boost::shared_ptr< WItemSelection >
SPtr;
63 typedef boost::shared_ptr< const WItemSelection >
ConstSPtr;
121 static boost::shared_ptr< WItemSelectionItem > Item( std::string name, std::string description =
"",
const char** icon = NULL )
123 return boost::shared_ptr< WItemSelectionItem >(
new WItemSelectionItem( name, description, icon ) );
134 void addItem( std::string name, std::string description =
"",
const char** icon = NULL );
139 #endif // WITEMSELECTION_H