* @file buttonContainerSettings.cxx
* @brief Implements the ButtonContainerSettings class.
* @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
- * @date 2011-05-24
+ * @date 2011-06-02
*/
#include "buttonContainerSettings.h"
// ----------------------------------------------------------------------------------
//GetButtonPanel returns the panel associated to the buttonAction
ButtonContainerSettings::PanelButton
- ButtonContainerSettings::GetPanelButton( const std::string &buttonName )
+ ButtonContainerSettings::GetPanelButton( const StringType &buttonName )
{
try
{
catch ( std::exception& e )
{
std::cerr
- << "ButtonContainerSettings::GetPanelButton( const std::string &buttonName ) "
+ << "ButtonContainerSettings::GetPanelButton( const StringType &buttonName ) "
<< "exception: " << e.what( ) << std::endl;
}//hctac
return ( NULL );
catch ( std::exception& e )
{
std::cerr
- << "ButtonContainerSettings::GetPanelButton( const std::string &buttonName ) "
+ << "ButtonContainerSettings::GetPanelButton( const StringType &buttonName ) "
<< "exception: " << e.what( ) << std::endl;
}//hctac
}
}
// ----------------------------------------------------------------------------------
void
- ButtonContainerSettings::AddButton( const std::string & groupName,
- const std::string &buttonName, const std::string &iconpath,
- const std::string &buttonDescription, PanelButton panel )
+ ButtonContainerSettings::AddButton( const StringType & groupName,
+ const StringType &buttonName, const StringType &iconpath,
+ const StringType &buttonDescription, PanelButton panel )
{
try
{
catch ( const std::exception& e )
{
std::cerr
- << "ButtonContainerSettings::AddButton( const std::string & groupName,"
- << "const std::string &buttonName, const std::string &iconpath,"
- << "const std::string &buttonDescription, PanelButton panel ) "
+ << "ButtonContainerSettings::AddButton( const StringType & groupName,"
+ << "const StringType &buttonName, const StringType &iconpath,"
+ << "const StringType &buttonDescription, PanelButton panel ) "
<< "exception: " << e.what( ) << std::endl;
}//hctac
}