diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-04-03 14:52:29 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-04-03 14:52:29 +0000 |
commit | f2b4f7bc5be9f0cc3718ed88e18ba41b48e97288 (patch) | |
tree | bf90c8e2b9dd6f1157a5283ec886219cbed94907 /vcl | |
parent | b13e331c52176da50070f74a2cd7539bf658d4d4 (diff) |
INTEGRATION: CWS presenterview (1.3.34); FILE MERGED
2007/07/11 10:31:57 af 1.3.34.2: RESYNC: (1.3-1.4); FILE MERGED
2007/03/02 11:59:57 pl 1.3.34.1: #i74774# Get/SetScreenNumber functionality
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/inc/salsys.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/win/inc/salsys.h b/vcl/win/inc/salsys.h index 61de1b46962a..c74fbae6e29d 100644 --- a/vcl/win/inc/salsys.h +++ b/vcl/win/inc/salsys.h @@ -4,9 +4,9 @@ * * $RCSfile: salsys.h,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hr $ $Date: 2007-06-27 20:55:36 $ + * last change: $Author: kz $ $Date: 2008-04-03 15:52:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -43,6 +43,7 @@ class WinSalSystem : public SalSystem { + public: struct DisplayMonitor { rtl::OUString m_aName; @@ -66,6 +67,7 @@ class WinSalSystem : public SalSystem } ~DisplayMonitor() {} }; + private: std::vector<DisplayMonitor> m_aMonitors; std::map<rtl::OUString, unsigned int> m_aDeviceNameToMonitor; unsigned int m_nPrimary; @@ -86,6 +88,8 @@ public: bool initMonitors(); // discards monitorinfo; used by WM_DISPLAYCHANGED handler void clearMonitors(); + const std::vector<DisplayMonitor>& getMonitors() + { initMonitors(); return m_aMonitors;} BOOL handleMonitorCallback( sal_IntPtr /*HMONITOR*/, sal_IntPtr /*HDC*/, |