fw4spl
Bundles/core/preferences/include/preferences/Plugin.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2014-2016.
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 __PREFERENCES_PLUGIN_HPP__
8 #define __PREFERENCES_PLUGIN_HPP__
9 
10 #include <fwData/Composite.hpp>
11 
12 #include <fwRuntime/Plugin.hpp>
13 
14 #include <string>
15 
16 namespace preferences
17 {
18 
20 {
21 public:
22  ~Plugin() noexcept
23  {
24  }
25 
26  void start();
27 
28  void stop() noexcept;
29 
30 protected:
31 
32  static const std::string s_PREF_SERVICE_UID;
33 
34  ::fwData::Composite::sptr m_preferences;
35 };
36 
37 } // namespace preferences
38 
39 #endif //__PREFERENCES_PLUGIN_HPP__
Provides a default plugin implementation.
The namespace preferences contains the service to manage the application&#39;s preferences (window size/p...
void stop() noexcept
Notifies the plugin about its stop.
void start()
Notifies the plugin about its start.