fw4spl
IMenuItemCallback.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 __FWGUI_IMENUITEMCALLBACK_HPP__
8 #define __FWGUI_IMENUITEMCALLBACK_HPP__
9 
10 #include "fwGui/GuiBaseObject.hpp"
11 #include "fwGui/config.hpp"
12 
13 namespace fwGui
14 {
15 
23 class FWGUI_CLASS_API IMenuItemCallback : public ::fwGui::GuiBaseObject
24 {
25 
26 public:
27 
29 
33  FWGUI_API virtual void execute() = 0;
34 
35 };
36 
37 } // namespace fwGui
38 
39 #endif /*__FWGUI_IMENUITEMCALLBACK_HPP__*/
40 
41 
#define fwCoreNonInstanciableClassDefinitionsMacro(_classinfo_)
Generate common code for Non Instanciable classes (Interfaces, Abstract classes, ...)
Defines the menu item callback.
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
Base class for all fwGui's classes.