CFontReference.hpp

Go to the documentation of this file.
00001 #ifndef __CFontReference__
00002 #define __CFontReference__
00003 
00004 #include <Basics/CCountedObject.hpp>
00005 #include <Basics/CString.hpp>
00006 
00007 //  ===========================================================================
00008 
00009 using Exponent::Basics::CCountedObject;
00010 using Exponent::Basics::CString;
00011 
00012 //  ===========================================================================
00013 
00014 namespace Exponent
00015 {
00016     namespace GUI
00017     {
00018         namespace Fonts
00019         {
00037             class CFontReference : public CCountedObject
00038             {
00040                 EXPONENT_CLASS_DECLARATION;
00043 //  ===========================================================================
00044 
00045             public:
00046 
00047 //  ===========================================================================
00048 
00054                 CFontReference(const CString &name, const CString &facename);
00055 
00060                 CFontReference(const CFontReference &reference);
00061 
00065                 virtual ~CFontReference();
00066 
00067 //  ===========================================================================
00068 
00074                 CFontReference &operator = (const CFontReference &reference);
00075 
00076 //  ===========================================================================
00077 
00082                 void setName(const CString &name) { m_name = name; }
00083 
00088                 void setFacename(const CString &facename) { m_facename = facename; }
00089 
00090 //  ===========================================================================
00091 
00096                 const CString &getName() const { return m_name; }
00097 
00102                 const CString &getFacename() const { return m_facename; }
00103 
00104 //  ===========================================================================
00105 
00106             protected:
00107 
00108 //  ===========================================================================
00109 
00110                 CString m_name;                 
00111                 CString m_facename;             
00113             };
00114         }
00115     }
00116 }
00117 #endif  // End of CFontReference.hpp

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