]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/groupManager.h
Code cleaning done
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / groupManager.h
index ab69ab4cbf29888a617d143672941f41f8fa2925..7c9539dd4c4ed5c4df53101b319cd3e78acc99bf 100644 (file)
@@ -1,27 +1,27 @@
 /*# ---------------------------------------------------------------------
-#
-# 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.
-# ------------------------------------------------------------------------ */
+ #
+ # 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.
+ # ------------------------------------------------------------------------ */
 
 /*!
  * @file groupManager.h
@@ -43,7 +43,6 @@
 
 #include "buttonManager.h"
 #include "buttonGroup.h"
-#include "listGroup.h"
 
 /*!    @namespace <creaButtonContainer>
  *     @brief Contains the creaButtonContainer library included in creaMaracasVisu.
@@ -61,7 +60,7 @@ namespace creaButtonContainer
                 *  @details This class describes a wxFlexGridSizer with the group manager.
                 *  @see <a href="http://docs.wxwidgets.org/stable/wx_wxflexGridSizer.html">wxFlexGridSizer</a>
                 */
-               class GroupManager : public wxFlexGridSizer
+               class GroupManager: public wxFlexGridSizer
                {
                        public:
                                //typedef definition
@@ -76,8 +75,6 @@ namespace creaButtonContainer
                                 */
                                typedef wxButton ExpansionButton;
                                // ----------------------------------------------------------------------------------
-                               //MLER
-                               //typedef creaButtonContainer::view::ListGroup ListGroup;
 
                                //end of typedef definition.
                        public:
@@ -87,75 +84,70 @@ namespace creaButtonContainer
                                 *      @param parent The wxWindow* parent
                                 *      @param buttonGroup The pointer to the ButtonGroup.
                                 */
-                               GroupManager( wxWindow* parent, ButtonGroup* buttonGroup );
+                               GroupManager(wxWindow* parent, ButtonGroup* buttonGroup);
                                // ----------------------------------------------------------------------------------
-
-                               //MLER
-                               //GroupManager( wxWindow* parent, ListGroup* listGroup );
                                /*! @fn ~GroupManager( );
                                 *  @brief This is the destructor.
-                               */
+                                */
                                virtual
-                               ~GroupManager( );
+                               ~GroupManager();
                                // ----------------------------------------------------------------------------------
                                /*! @fn GetButtonID( );
                                 *  @brief This method returns the Button ID.
                                 *  @return
                                 */
                                long
-                               GetButtonID( );
+                               GetButtonID();
                                // ----------------------------------------------------------------------------------
                                /*! @fn GetButton( );
                                 *      @brief This method returns the expansion button.
                                 * @return
                                 */
                                ExpansionButton*
-                               GetButton( );
+                               GetButton();
                                // ----------------------------------------------------------------------------------
                                /*! @fn GetButtonManager( );
                                 *      @brief This method returns the manager of the buttons.
                                 *      @return
                                 */
                                ButtonManager*
-                               GetButtonManager( );
+                               GetButtonManager();
                                // ----------------------------------------------------------------------------------
                                /*! @fn SetButtonID( long id );
                                 *      @brief This method sets the ID of the expansion button.
                                 * @param id
                                 */
                                void
-                               SetButtonID( long id );
+                               SetButtonID(long id);
                                // ----------------------------------------------------------------------------------
                                /*! @fn SetButton( ExpansionButton* button );
                                 *      @brief This method sets the expansion button.
                                 * @param button
                                 */
                                void
-                               SetButton( ExpansionButton* button );
+                               SetButton(ExpansionButton* button);
                                // ----------------------------------------------------------------------------------
                                /*! @fn SetButtonManager( ButtonManager* manager );
                                 *      @brief This method Sets the ButtonManager
                                 * @param manager A pointer with the manager.
                                 */
                                void
-                               SetButtonManager( ButtonManager* manager );
+                               SetButtonManager(ButtonManager* manager);
                                // ----------------------------------------------------------------------------------
                                /*! @fn HideSubPanel( bool hide );
                                 *      @brief This method hides the subPanel (Hides the buttons).
                                 * @param hide True if you need to hide the buttons.
                                 */
                                void
-                               HideSubPanel( bool hide );
+                               HideSubPanel(bool hide);
 
                        private:
                                long m_IDExpButton; //!<ID of "+""-" expansion button.
                                ExpansionButton* m_ExpansionButton; //!<The expansion button.
                                ButtonManager* m_ButtonManager; //!<The button manager.
 
-
-
                };
-       }//ecapseman
-}//ecapseman
+       } //ecapseman
+} //ecapseman
 
 #endif // GROUPMANAGER_H