/*************************************************************** * Name: TFunctor * Purpose: Call_Back Functions * Author: Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr) * Modified: 2011-05-09 * Copyright: Diego CACERES (http://www.creatis.insa-lyon.fr/~caceres/) * License: **************************************************************/ #ifndef SYSTEM_H_ #define SYSTEM_H_ #include #include #include #include "functor.h" ///@namespace namespace creaButtonContainer { typedef model::TFunctor* FunctionEventType; //First is the button description, Second FunctionEventType typedef std::pair< std::string, FunctionEventType > ActionButton; //First is the ButtonName and Second is the ImageIconPath typedef std::pair< std::string, std::string > ButtonInfo; typedef std::pair< ButtonInfo*, ActionButton* > ButtonPair; typedef std::list< std::string > KeyMapList; typedef std::list< ButtonPair* > ButtonList; typedef std::map< std::string, ButtonList > ButtonGroupMap; } #endif /* SYSTEM_H_ */