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
39 enum { SPR_HARDSTOP
= SPR_FOCUSLOST
};
44 void SetContainerWindowL(RWindow
& aWindow
, RWsSession
& aSession
, CWsScreenDevice
& aDevice
);
45 void AppendWsEvent(const TWsEvent
& aEvent
); //give event to SDL
49 CEventQueue
* EventQueue() { return m_eventQueue
; }
50 void SetOrientation(CAknAppUi::TAppUiOrientation orientation
, const TSize
& aSize
, TDisplayMode aMode
);
52 int GetSoundPauseReason() const { return m_soundPauseReason
; }
53 void SetFocus(bool focused
);
56 void MrccatoCommand(TRemConCoreApiOperationId aOperationId
, TRemConCoreApiButtonAction aButtonAct
);
57 void ProfileChanged(int profile
);
59 CEventQueue
* m_eventQueue
;
60 bool m_orientationWait
;
63 int m_soundPauseReason
;
64 ProfileWatcher
* m_profileWatcher
;