5 #include <remconcoreapitargetobserver.h>
13 class CWsScreenDevice
;
19 int SDL_main (int argc
, char* argv
[]);
26 virtual void ProfileChanged(int profile
) = 0;
29 class CSDL
: public MRemConCoreApiTargetObserver
, public MProfileWatcher
36 SPR_SILENTPROFILE
= 0x2
42 void SetContainerWindowL(RWindow
& aWindow
, RWsSession
& aSession
, CWsScreenDevice
& aDevice
);
43 void AppendWsEvent(const TWsEvent
& aEvent
); //give event to SDL
47 CEventQueue
* EventQueue() { return m_eventQueue
; }
48 void SetOrientation(CAknAppUi::TAppUiOrientation orientation
, const TSize
& aSize
, TDisplayMode aMode
);
50 int GetSoundPauseReason() const { return m_soundPauseReason
; }
51 void SetFocus(bool focused
);
54 void MrccatoCommand(TRemConCoreApiOperationId aOperationId
, TRemConCoreApiButtonAction aButtonAct
);
55 void ProfileChanged(int profile
);
57 CEventQueue
* m_eventQueue
;
58 bool m_orientationWait
;
61 int m_soundPauseReason
;
62 ProfileWatcher
* m_profileWatcher
;