fw4spl
fwContainer.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWGUI_CONTAINER_FWCONTAINER_HPP__
8 #define __FWGUI_CONTAINER_FWCONTAINER_HPP__
9 
10 #include "fwGui/config.hpp"
11 #include "fwGui/GuiBaseObject.hpp"
12 
13 namespace fwGui
14 {
15 namespace container
16 {
21 class FWGUI_CLASS_API fwContainer : public ::fwGui::GuiBaseObject
22 {
23 
24 public:
25 
27 
28  FWGUI_API virtual void clean() = 0;
29  FWGUI_API virtual void destroyContainer() = 0;
30  FWGUI_API virtual bool isShownOnScreen() = 0;
31 
32  FWGUI_API virtual void setVisible(bool isVisible) = 0;
33  FWGUI_API virtual void setEnabled(bool isEnabled) = 0;
34 
35 };
36 
37 } // namespace container
38 } // namespace fwGui
39 
40 #endif /*__FWGUI_CONTAINER_FWCONTAINER_HPP__*/
41 
#define fwCoreNonInstanciableClassDefinitionsMacro(_classinfo_)
Generate common code for Non Instanciable classes (Interfaces, Abstract classes, ...)
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
Base class for all fwGui's classes.
Defines the generic container for IHM.
Definition: fwContainer.hpp:21