fw4spl
ICursor.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_ICURSOR_HPP__
8 #define __FWGUI_ICURSOR_HPP__
9 
10 #include "fwGui/GuiBaseObject.hpp"
11 #include "fwGui/config.hpp"
12 
13 namespace fwGui
14 {
15 
23 class FWGUI_CLASS_API ICursor : public ::fwGui::GuiBaseObject
24 {
25 public:
27 
28 
29  typedef enum
30  {
31  DEFAULT,
32  BUSY,
33  WAIT,
34  CROSS
35  } CursorType;
36 
38  FWGUI_API ICursor();
40  FWGUI_API virtual ~ICursor();
41 
42 
43  typedef std::string FactoryRegistryKeyType;
44  FWGUI_API static const FactoryRegistryKeyType REGISTRY_KEY;
45 
47  FWGUI_API virtual void setCursor( CursorType cursor) = 0;
48 
50  FWGUI_API virtual void setDefaultCursor() = 0;
51 
52 };
53 
54 } // namespace fwGui
55 
56 #endif /*__FWGUI_ICURSOR_HPP__*/
57 
58 
#define fwCoreNonInstanciableClassDefinitionsMacro(_classinfo_)
Generate common code for Non Instanciable classes (Interfaces, Abstract classes, ...)
CursorType
Cursor type.
Definition: ICursor.hpp:29
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
Defines the generic cursor for IHM.
Definition: ICursor.hpp:23
Base class for all fwGui's classes.