00001 #ifndef __CDisplayInformation__ 00002 #define __CDisplayInformation__ 00003 00004 00005 #include "../Basics/CString.hpp" 00006 #include "../IO/CTextStream.hpp" 00007 00008 // =========================================================================== 00009 00010 using Exponent::Basics::CString; 00011 using Exponent::IO::CTextStream; 00012 00013 // =========================================================================== 00014 00015 namespace Exponent 00016 { 00017 namespace Host 00018 { 00038 class CDisplayInformation 00039 { 00040 public: 00041 00042 // =========================================================================== 00043 00048 static void dumpDisplayInfoToFile(const CSystemString &path); 00049 00054 static void dumpDisplayInfoToFile(CTextStream &stream); 00055 00056 // =========================================================================== 00057 00062 static long getNumberOfMonitors(); 00063 00068 static long getMonitorScreenWidth(); 00069 00074 static long getMonitorScreenHeight(); 00075 00080 static long getWindowBorderWidth(); 00081 00086 static long getWindowBorderHeight(); 00087 }; 00088 } 00089 } 00090 #endif // End of CDisplayInformation.hpp