1 /************************************************************************************//*!
3 * Purpose: @brief contains a system typedefs used to reuse code.
4 * Author: @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
8 ***************************************************************************************/
17 //! @include <iostream>
19 //! @include "functor.h"
22 ///@namespace <creaButtonContainer>
23 namespace creaButtonContainer
25 /*! @typedef model::TFunctor* FunctionEventType;
26 * @brief Defines the FunctionEventType type.
29 typedef model::TFunctor* FunctionEventType;
30 // ----------------------------------------------------------------------------------
31 /*! @typedef creaButtonContainer::view::Button Button;
32 * @brief Defines the ActionButton type.
33 * First is the button description, Second FunctionEventType
35 typedef std::pair< std::string, FunctionEventType > ButtonAction;
36 // ----------------------------------------------------------------------------------
37 /*! @typedef std::pair< std::string, std::string > ButtonInfo;
38 * @brief Defines the ButtonInfo type.
39 * First is the ButtonName and Second is the IconPath
41 typedef std::pair< std::string, std::string > ButtonInfo;
42 // ----------------------------------------------------------------------------------
43 /*! @typedef std::pair< ButtonInfo*, ActionButton* > ButtonPair;
44 * @brief Defines the ButtonPair type.
46 typedef std::pair< ButtonInfo*, ButtonAction* > ButtonPair;
47 // ----------------------------------------------------------------------------------
48 /*! @typedef std::list< std::string > KeyMapList;
49 * @brief Defines the KeyMapList type.
51 typedef std::list< std::string > KeyMapList;
52 // ----------------------------------------------------------------------------------
53 /*! @typedef std::list< ButtonPair* > ButtonList;
54 * @brief Defines the ButtonList type.
56 typedef std::list< ButtonPair* > ButtonList;
57 // ----------------------------------------------------------------------------------
58 /*! @typedef std::map< std::string, ButtonList > ButtonGroupMap;
59 * @brief Defines the ButtonGroupMap type.
61 typedef std::map< std::string, ButtonList > ButtonGroupMap;
62 // ----------------------------------------------------------------------------------
65 #endif /* SYSTEM_H_ */