equal
deleted
inserted
replaced
31 #include "../CLIENT/w32comm.h" |
31 #include "../CLIENT/w32comm.h" |
32 #include "devicemap.h" |
32 #include "devicemap.h" |
33 #include <graphics/wsdisplaycontrol.h> |
33 #include <graphics/wsdisplaycontrol.h> |
34 #include "wsdisplaychangeao.h" |
34 #include "wsdisplaychangeao.h" |
35 #include <graphics/wstestscreencapture.h> |
35 #include <graphics/wstestscreencapture.h> |
36 #include <graphics/WSGRAPHICDRAWERINTERFACE.H> |
36 #include <Graphics/WSGRAPHICDRAWERINTERFACE.H> |
37 |
37 |
38 const TInt KEikSrvsSid=0x10003a4a; |
38 const TInt KEikSrvsSid=0x10003a4a; |
39 |
39 |
40 static _LIT_SECURITY_POLICY_C1(KSecurityPolicy_WriteDeviceData,ECapabilityWriteDeviceData); |
40 static _LIT_SECURITY_POLICY_C1(KSecurityPolicy_WriteDeviceData,ECapabilityWriteDeviceData); |
41 |
41 |
44 DWsScreenDevice::DWsScreenDevice(CWsClient* aOwner, TInt aDefaultScreenNumber, TUint aClientScreenDevicePointer) |
44 DWsScreenDevice::DWsScreenDevice(CWsClient* aOwner, TInt aDefaultScreenNumber, TUint aClientScreenDevicePointer) |
45 : CWsScreenObject(aOwner, WS_HANDLE_SCREEN_DEVICE, CWsTop::Screen( aDefaultScreenNumber )) |
45 : CWsScreenObject(aOwner, WS_HANDLE_SCREEN_DEVICE, CWsTop::Screen( aDefaultScreenNumber )) |
46 ,iClientScreenDevicePointer(aClientScreenDevicePointer) |
46 ,iClientScreenDevicePointer(aClientScreenDevicePointer) |
47 { |
47 { |
48 MWsScreen* pOI=Screen(); |
48 MWsScreen* pOI=Screen(); |
|
49 WS_ASSERT_ALWAYS(pOI, EWsPanicNoScreen); |
49 iDispCont=pOI->ObjectInterface<MWsDisplayControl>(); |
50 iDispCont=pOI->ObjectInterface<MWsDisplayControl>(); |
50 iDispMap =pOI->ObjectInterface<MWsDisplayMapping>(); |
51 iDispMap =pOI->ObjectInterface<MWsDisplayMapping>(); |
51 iTestScreenCapture = pOI->ObjectInterface<MWsTestScreenCapture>(); |
52 iTestScreenCapture = pOI->ObjectInterface<MWsTestScreenCapture>(); |
52 } |
53 } |
53 |
54 |