diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-10-09 14:09:03 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-10-09 14:09:03 +0000 |
commit | e947972a6a1f1d050b29b1221c9260c04e2cd24c (patch) | |
tree | 9c54d27eb6b4add6031d28a484b83355ebb82024 /vcl/aqua | |
parent | 4030187277f1b41de8a4c542493690fa8d099583 (diff) |
INTEGRATION: CWS aquavcl03 (1.14.4); FILE MERGED
2007/09/17 17:23:59 pl 1.14.4.5: RESYNC: (1.15-1.16); FILE MERGED
2007/09/14 15:44:38 pl 1.14.4.4: header cleanup
2007/08/07 14:44:33 pl 1.14.4.3: solve a merge problem
2007/08/07 10:30:53 pl 1.14.4.2: RESYNC: (1.14-1.15); FILE MERGED
2007/07/26 11:02:25 pl 1.14.4.1: #i80025# initial checking for carbon to cocoa migration
Diffstat (limited to 'vcl/aqua')
-rw-r--r-- | vcl/aqua/inc/saldata.hxx | 47 |
1 files changed, 11 insertions, 36 deletions
diff --git a/vcl/aqua/inc/saldata.hxx b/vcl/aqua/inc/saldata.hxx index 4fe8e08f0b44..8bdfb41dbbe0 100644 --- a/vcl/aqua/inc/saldata.hxx +++ b/vcl/aqua/inc/saldata.hxx @@ -5,9 +5,9 @@ * * $RCSfile: saldata.hxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: ihi $ $Date: 2007-09-13 16:30:39 $ + * last change: $Author: kz $ $Date: 2007-10-09 15:09:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -37,22 +37,13 @@ #ifndef _SV_SALDATA_HXX #define _SV_SALDATA_HXX -#include <premac.h> -#include <Carbon/Carbon.h> -#include <postmac.h> +#include "premac.h" +#include <Cocoa/Cocoa.h> +#include "postmac.h" - -#ifndef _SV_SV_H -#include <vcl/sv.h> -#endif - -#ifndef _SV_SVDATA_HXX -#include <vcl/svdata.hxx> -#endif - -#ifndef _SV_SALWTYPE_HXX -#include <vcl/salwtype.hxx> -#endif +#include "vcl/sv.h" +#include "vcl/svdata.hxx" +#include "vcl/salwtype.hxx" #include <list> #include <hash_set> @@ -61,7 +52,7 @@ #include <cstdarg> -class SalInstance; +class AquaSalInstance; class SalObject; class SalFrame; class SalVirtualDevice; @@ -89,7 +80,7 @@ struct SalData { SALTIMERPROC mpTimerProc; // timer callback proc - SalInstance *mpFirstInstance; // pointer of first instance + AquaSalInstance *mpFirstInstance; // pointer of first instance std::list<AquaSalFrame*> maFrames; // pointer of first frame std::hash_set<const AquaSalFrame*,FrameHash> maFrameCheck; // for fast check of frame existance SalObject *mpFirstObject; // pointer of first object window @@ -100,16 +91,6 @@ struct SalData CGColorSpaceRef mxRGBSpace; CGColorSpaceRef mxGraySpace; - /* - * SalTimer related members - */ - BOOL mbInTimerProc; // timer event is currently being dispatched - BOOL mbTimerInstalled; // timer is in the event loop - ULONG mnTimerMS; // Current Time (in MS) of the Timer - ULONG mnTimerOrgMS; // Current Original Time (in MS) - - EventLoopTimerRef mrTimerRef; - EventLoopTimerUPP mrTimerUPP; static FILE *s_pLog; bool mbIsScrollbarDoubleMax; // TODO: support DoubleMin and DoubleBoth too @@ -122,13 +103,7 @@ struct SalData mpFirstPrinter( NULL ), mpFontList( NULL ), mxRGBSpace( CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB) ), - mxGraySpace( CGColorSpaceCreateWithName(kCGColorSpaceGenericGray) ), - mbInTimerProc( FALSE ), - mbTimerInstalled( FALSE ), - mnTimerMS( 0 ), - mnTimerOrgMS( 0 ), - mrTimerRef( 0 ), - mrTimerUPP( 0 ) + mxGraySpace( CGColorSpaceCreateWithName(kCGColorSpaceGenericGray) ) {} ~SalData() |