fw4spl
ShowHelpContents.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 __UIGENERICQT_ACTION_SHOWHELPCONTENTS_HPP__
8 #define __UIGENERICQT_ACTION_SHOWHELPCONTENTS_HPP__
9 
10 #include "uiGenericQt/config.hpp"
11 
12 #include <fwGui/IActionSrv.hpp>
13 
14 #include <boost/filesystem/path.hpp>
15 
16 namespace uiGenericQt
17 {
18 namespace action
19 {
20 
24 class UIGENERICQT_CLASS_API ShowHelpContents : public ::fwGui::IActionSrv
25 {
26 public:
28  UIGENERICQT_API ShowHelpContents() noexcept;
29 
30  UIGENERICQT_API virtual ~ShowHelpContents() noexcept;
31 
32 protected:
33 
45  void configuring() override;
46 
48  void starting() override;
49 
51  void updating() override;
52 
54  void stopping() override;
55 
56  UIGENERICQT_API void info(std::ostream& _sstream ) override;
57 
58 private:
63  bool m_bServiceIsConfigured;
64 
68  ::boost::filesystem::path m_fsHelpPath;
69 };
70 
71 } // namespace action
72 
73 } // namespace uiGenericQt
74 
75 #endif /*__UIGENERICQT_ACTION_SHOWHELPCONTENTS_HPP__*/
The namespace uiGenericQt contains actions to show help, acknowledgments and about frame...
STL namespace.
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
This action show the help contents.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.