]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContour_ActionCommandsID.h
Feature #1772 Add licence terms for all files.
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContour_ActionCommandsID.h
index e2770d1e3113b84f29bc35ea116ecd7489fae113..d62c136c54bdb012c629edc7d9ddc67b5baef75c 100644 (file)
@@ -1,3 +1,28 @@
+/*# ---------------------------------------------------------------------
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
+#                        pour la Sant�)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+# Previous Authors : Laurent Guigues, Jean-Pierre Roux
+# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
+#
+#  This software is governed by the CeCILL-B license under French law and
+#  abiding by the rules of distribution of free software. You can  use,
+#  modify and/ or redistribute the software under the terms of the CeCILL-B
+#  license as circulated by CEA, CNRS and INRIA at the following URL
+#  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+#  or in the file LICENSE.txt.
+#
+#  As a counterpart to the access to the source code and  rights to copy,
+#  modify and redistribute granted by the license, users are provided only
+#  with a limited warranty  and the software's author,  the holder of the
+#  economic rights,  and the successive licensors  have only  limited
+#  liability.
+#
+#  The fact that you are presently reading this means that you have had
+#  knowledge of the CeCILL-B license and that you accept its terms.
+# ------------------------------------------------------------------------ */
+
 #ifndef __wxContour_ActionCommandsID_h_INCLUDED_H__
 #define __wxContour_ActionCommandsID_h_INCLUDED_H__
 
@@ -15,89 +40,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__