+ void
+ ButtonContainerSettings::AddItems(BCPSettingsStruct* info)
+ {
+ try
+ {
+ //builds the button information
+ //I don't know the try catch doesn't work!!
+ if ( info->panel == NULL )
+ {
+ std::cerr << "ButtonContainerSettings::AddButton"
+ << "exception: NULL Pointer in panel " << std::endl;
+ exit( 1 );
+ }
+ info->panel->Show( false );
+ std::string mapKey = info->groupName + ":" + info->buttonName;
+ m_itemsMap[mapKey] = info->panel;
+
+ }//yrt
+ catch ( const std::exception& e )
+ {
+ std::cerr
+ << "ButtonContainerSettings::AddButton( BCPSettingsStruct* info )"
+ << "exception: " << e.what( ) << std::endl;
+ exit( 1 );
+ }//hctac
+ }
+
+ ButtonContainerSettings::ItemsMap
+ ButtonContainerSettings::GetItemsMap()
+ {
+ return m_itemsMap;
+ }
+