IMenuListener.hpp

Go to the documentation of this file.
00001 #ifndef __IMenuListener__
00002 #define __IMenuListener__
00003 
00004 #include "../Events/CMenuEvent.hpp"
00005 using Exponent::GUI::Events::CMenuEvent;
00006 
00007 //  ===========================================================================
00008 
00009 namespace Exponent
00010 {
00011     namespace GUI
00012     {
00013         namespace Listeners
00014         {
00032             interface IMenuListener
00033             {
00034 
00035 //  ===========================================================================
00036 
00037             public:
00038 
00039 //  ===========================================================================
00040 
00044                 IMenuListener() { }
00045                 
00049                 virtual ~IMenuListener() { }
00050 
00051 //  ===========================================================================
00052 
00057                 virtual void handleMenuOpening(const CMenuEvent &event)   = 0;
00058 
00063                 virtual void handleMenuClosing(const CMenuEvent &event)   = 0;
00064 
00069                 virtual void handleMenuSelection(const CMenuEvent &event) = 0;
00070 
00071 //  ===========================================================================
00072             };
00073         }
00074     }
00075 }
00076 #endif  // End of IMenuListener.hpp

Infinity API - IMenuListener.hpp Source File generated on 7 Mar 2007