00001 #ifndef __IFocusListener__
00002 #define __IFocusListener__
00003
00004 #include <Basics/CCountedObject.hpp>
00005
00006
00007
00011 #ifndef __IWINDOW_GUARD__
00012 #define __IWINDOW_GUARD__
00013 namespace Exponent { namespace GUI { namespace Windowing { interface IWindow; } } }
00014 using Exponent::GUI::Windowing::IWindow;
00015 #endif
00016
00020 namespace Exponent
00021 {
00022 namespace GUI
00023 {
00024 namespace Listeners
00025 {
00043 interface IFocusListener
00044 {
00045
00046
00047
00048 public:
00049
00050
00051
00055 IFocusListener() { }
00056
00060 virtual ~IFocusListener() { }
00061
00062
00063
00068 virtual void gainedFocus(IWindow *window) = 0;
00069
00074 virtual void lostFocus(IWindow *window) = 0;
00075
00076
00077 };
00078 }
00079 }
00080 }
00081 #endif // End of IFocusListener.hpp