fw4spl
Bundles/core/gui/include/gui/Plugin.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
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 __GUI_PLUGIN_HPP__
8 #define __GUI_PLUGIN_HPP__
9 
10 #include <fwRuntime/Plugin.hpp>
11 
12 #include "gui/config.hpp"
13 
14 namespace gui
15 {
16 
22 class GUI_CLASS_API Plugin : public ::fwRuntime::Plugin
23 {
24 
25 public:
26 
28  GUI_API virtual ~Plugin() noexcept;
29 
38  GUI_API void start();
39 
43  GUI_API void stop() noexcept;
44 
45 };
46 
47 } // namespace gui
48 
49 #endif //__GUI_PLUGIN_HPP__
The namespace gui contains the basic services to build the application IHM.
Provides a default plugin implementation.
This class is called when the gui bundle is loaded.