diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-06-16 20:19:07 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-06-16 20:30:25 +0300 |
commit | e73882063c7b1abbfd842a82854887a7eaed8c02 (patch) | |
tree | 088cc93e9dded92bc8e03775cdc295ee238c84de /vcl/inc | |
parent | 7c5b0cde8c2301dd23320831e4a528d9da6f6a2b (diff) |
WaE: 'UpdateSystemActivity' is deprecated: first deprecated in OS X 10.8
Instead use IOKit as described in
http://developer.apple.com/library/mac/#qa/qa1340/_index.html , said
to work in 10.6 or later, thus fine for us.
Change-Id: I1bfcc2b9bce6cdf5d7274e89f96b1739898fa735
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/aqua/salframe.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vcl/inc/aqua/salframe.h b/vcl/inc/aqua/salframe.h index ade5438ac580..e7c122a23c84 100644 --- a/vcl/inc/aqua/salframe.h +++ b/vcl/inc/aqua/salframe.h @@ -20,6 +20,10 @@ #ifndef _SV_SALFRAME_H #define _SV_SALFRAME_H +#include <premac.h> +#include <IOKit/pwr_mgt/IOPMLib.h> +#include <postmac.h> + #include "vcl/sysdata.hxx" #include "aqua/salmenu.h" @@ -32,8 +36,6 @@ #include <utility> #include <stdexcept> -#include <boost/shared_ptr.hpp> - class AquaSalGraphics; class AquaSalFrame; class AquaSalTimer; @@ -92,7 +94,9 @@ public: sal_uLong mnICOptions; - boost::shared_ptr< Timer > mpActivityTimer; // Timer to prevent system sleep during presentation + // To prevent display sleep during presentation + IOPMAssertionID mnAssertionID; + public: /** Constructor |