CDiskPathMenuItem.hpp

Go to the documentation of this file.
00001 #ifndef __CDiskPathMenuItem__
00002 #define __CDiskPathMenuItem__
00003 
00004 #include "CMenuItem.hpp"
00005 #include "CMenu.hpp"
00006 
00007 //  ===========================================================================
00008 
00009 using Exponent::GUI::Controls::CMenuItem;
00010 using Exponent::GUI::Controls::CMenu;
00011 
00012 //  ===========================================================================
00013 
00014 namespace Exponent
00015 {
00016     namespace GUI
00017     {
00018         namespace Controls
00019         {
00037             class CDiskPathMenuItem : public CMenuItem
00038             {
00040                 EXPONENT_CLASS_DECLARATION;
00043 //  ===========================================================================
00044         
00045             public:
00046 
00047 //  ===========================================================================
00048 
00058                 CDiskPathMenuItem(const CSystemString &path, const CString &text, const long identifier, const EMenuItemTypes type, const bool enabled = true);
00059 
00063                 virtual ~CDiskPathMenuItem();
00064 
00065 //  ===========================================================================
00066 
00071                 const CSystemString &getPath() const { return m_path; }
00072 
00073 //  ===========================================================================
00074 
00081                 static void traverseDiskPath(const CSystemString &path, CMenu *menuToAddTo, const CString &extension);
00082 
00083 //  ===========================================================================
00084 
00085             protected:
00086 
00087 //  ===========================================================================
00088 
00089                 CSystemString m_path;           
00090             };
00091         }
00092     }
00093 }
00094 #endif  // End of CDiskPathMenuItem.hpp

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