CHtmlMenuItem.hpp

Go to the documentation of this file.
00001 #ifndef __CHtmlMenuItem__
00002 #define __CHtmlMenuItem__
00003 
00004 #include <Basics/CHtmlString.hpp>
00005 #include "CMenuItem.hpp"
00006 
00007 //  ===========================================================================
00008 
00009 using Exponent::Basics::CString;
00010 using Exponent::Basics::CHtmlString;
00011 using Exponent::GUI::Controls::CMenuItem;
00012 
00013 //  ===========================================================================
00014 
00015 namespace Exponent
00016 {
00017     namespace GUI
00018     {
00019         namespace Controls
00020         {
00039             class CHtmlMenuItem : public CMenuItem
00040             {
00042                 EXPONENT_CLASS_DECLARATION;
00045 //  ===========================================================================
00046         
00047             public:
00048 
00049 //  ===========================================================================
00050                 
00057                 CHtmlMenuItem(const CHtmlString &link, const CString &displayText, const long id);
00058 
00062                 virtual ~CHtmlMenuItem();
00063 
00064 //  ===========================================================================
00065                 
00069                 void lauchLinkInBrowser();
00070 
00071 //  ===========================================================================
00072 
00073             protected:
00074 
00075 //  ===========================================================================
00076 
00077                 CHtmlString m_link;             
00078             };
00079         }
00080     }
00081 }
00082 #endif  // End of CHtmlMenuItem.hpp

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