]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/system.h
Diego Caceres: Changes in CMakeLists.txt.
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / model / system.h
1 /***************************************************************
2  * Name:      TFunctor
3  * Purpose:   Call_Back Functions
4  * Author:    Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
5  * Modified:  2011-05-09
6  * Copyright: Diego CACERES (http://www.creatis.insa-lyon.fr/~caceres/)
7  * License:
8  **************************************************************/
9
10 #ifndef SYSTEM_H_
11 #define SYSTEM_H_
12
13 #include <list>
14 #include <map>
15 #include <iostream>
16 #include "functor.h"
17
18 ///@namespace <creaButtonContainer>
19 namespace creaButtonContainer
20 {
21                 typedef model::TFunctor* FunctionEventType;
22                 //First is the button description, Second FunctionEventType
23                 typedef std::pair< std::string, FunctionEventType > ActionButton;
24                 //First is the ButtonName and Second is the ImageIconPath
25                 typedef std::pair< std::string, std::string > ButtonInfo;
26                 typedef std::pair< ButtonInfo*, ActionButton* > ButtonPair;
27                 typedef std::list< std::string > KeyMapList;
28                 typedef std::list< ButtonPair* > ButtonList;
29                 typedef std::map< std::string, ButtonList > ButtonGroupMap;
30 }
31
32 #endif /* SYSTEM_H_ */