]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContour_ActionCommandsID.h
fix :
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContour_ActionCommandsID.h
index e2770d1e3113b84f29bc35ea116ecd7489fae113..6731a0fdef1190e740e75a8918b4fb84db5adb4c 100644 (file)
@@ -15,89 +15,38 @@ class wxContour_ActionCommandsID {
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
-               
+       wxContour_ActionCommandsID();
+       ~wxContour_ActionCommandsID();
        //------------------------------------------------------------------------------------------------------------
        // Attributtes
        //------------------------------------------------------------------------------------------------------------
-       /*
-       const static char CREATE_TOOL                     = 'A'; //Manual contour
-       const static char CREATE_CONTOUR_KEY              = 'B'; //Manual contour
-       const static char DELETE_TOOL                     = 'C';
-       const static char DELETE_KEY                      = 'D';
-       const static char HIDE_TOOL                       = 'E';
-       const static char SHOW_TOOL                       = 'F';
-       const static char COPY_TOOL                       = 'G';
-       const static char PASTE_TOOL                      = 'H';
-       const static char CHANGE_TOOL                     = 'I';
-       const static char SPREAD_TOOL                     = 'J';
-       const static char SELECT_TOOL                     = 'K';
-       const static char EDIT_TOOL                       = 'L';
-       const static char UNDO_TOOL                       = 'M';
-       const static char REDO_TOOL                       = 'N';
-       const static char CREATE_PREDEFINED_4SIDED        = 'O';
-       const static char SAVE_TOOL                       = 'P';
-       const static char SAVE_KEY                        = 'Q';
-       const static char OPEN_TOOL                       = 'R';
-       const static char AUTOMATIQUESEGMENTATION_TOOL    = 'S';
-       const static char INFORMATIONCONTOUR_TOOL         = 'T';
-       const static char INTERFACECONFIGURATION_TOOL     = 'U';
-       const static char TEST_TOOL                       = 'V';
-      */
-      
-      /*
-      /// \TODO :  Try to find the right way to initialize static values.
-      
-       const   static wxString CREATE_TOOL                     = _T("A"); //Manual contour
-       const   static  wxString CREATE_CONTOUR_KEY             = _T("B"); //Manual contour
-       const   static wxString DELETE_TOOL                     = _T("C");
-       const   static  wxString DELETE_KEY                     = _T("D");
-       const   static  wxString HIDE_TOOL                      = _T("E");
-       const   static  wxString SHOW_TOOL                      = _T("F");
-       const   static wxString COPY_TOOL                       = _T("G");
-       const   static  wxString PASTE_TOOL                     = _T("H");
-       const   static wxString CHANGE_TOOL                     = _T("I");
-       const   static wxString SPREAD_TOOL                     = _T("J");
-       const   static wxString SELECT_TOOL                     = _T("K");
-       const   static wxString EDIT_TOOL                       = _T("L");
-       const   static wxString UNDO_TOOL                       = _T("M");
-       const   static wxString REDO_TOOL                       = _T("N");
-       const   static wxString CREATE_PREDEFINED_4SIDED        = _T("O");
-       const   static wxString SAVE_TOOL                       = _T("P");
-       const   static  wxString SAVE_KEY                       = _T("Q");
-       const   static wxString OPEN_TOOL                       = _T("R");
-       const   static wxString AUTOMATIQUESEGMENTATION_TOOL    = _T("S");
-       const   static wxString INFORMATIONCONTOUR_TOOL         = _T("T");
-       const   static wxString INTERFACECONFIGURATION_TOOL     = _T("U");
-       const   static wxString TEST_TOOL                       = _T("V");
-       */
-       
-       
-       
-       const static wxString CREATE_TOOL                    ; //Manual contour
-       const static wxString CREATE_CONTOUR_KEY             ; //Manual contour
-       const static wxString DELETE_TOOL                    ;
-       const static wxString DELETE_KEY                     ;
-       const static wxString HIDE_TOOL                      ;
-       const static wxString SHOW_TOOL                       ;
-       const static wxString COPY_TOOL                       ;
-       const static wxString PASTE_TOOL                      ;
-       const static wxString CHANGE_TOOL                     ;
-       const static wxString SPREAD_TOOL                     ;
-       const static wxString SELECT_TOOL                    ;
-       const static wxString EDIT_TOOL                      ;
-       const static wxString UNDO_TOOL                      ;
-       const static wxString REDO_TOOL                       ;
-       const static wxString CREATE_PREDEFINED_4SIDED        ;
-       const static wxString SAVE_TOOL                      ;
-       const static wxString SAVE_KEY                       ;
-       const static wxString OPEN_TOOL                      ;
-       const static wxString AUTOMATIQUESEGMENTATION_TOOL    ;
-       const static wxString INFORMATIONCONTOUR_TOOL        ;
-       const static wxString INTERFACECONFIGURATION_TOOL    ;
-       const static wxString TEST_TOOL                      ;  
-       
-       
+       const static char CREATE_TOOL; //Manual contour
+       const static char CREATE_CONTOUR_KEY; //Manual contour
+       const static char DELETE_TOOL;
+       const static char DELETE_KEY ;
+       const static char HIDE_TOOL  ;
+       const static char SHOW_TOOL  ;
+       const static char COPY_TOOL  ;
+       const static char PASTE_TOOL ;
+       const static char CHANGE_TOOL;
+       const static char SPREAD_TOOL;
+       const static char SELECT_TOOL;
+       const static char EDIT_TOOL  ;
+       const static char UNDO_TOOL ;
+       const static char REDO_TOOL               ;
+       const static char CREATE_PREDEFINED_4SIDED;
+       const static char SAVE_TOOL               ;
+       const static char SAVE_KEY               ;
+       const static char OPEN_TOOL              ;
+       const static char AUTOMATIQUESEGMENTATION_TOOL;
+       const static char INFORMATIONCONTOUR_TOOL    ;
+       const static char INTERFACECONFIGURATION_TOOL;
+       const static char TEST_TOOL                  ;
+
+       const static char * TOOL_CODES[];
 };
+
+
 #endif // __wxContour_ActionCommandsID_HEADER_FILE__