Murl::IDeviceHandler Interface Referenceabstract

The main device handler interface. More...

#include "murl_i_device_handler.h"

Inherited by Murl::Core::DeviceHandler.

Public Member Functions

virtual Bool Init (const IAppConfiguration *appConfig)=0
 Initialize the device handler. More...
 
virtual Bool DeInit ()=0
 Deinitialize the device handler. More...
 
Input devices

The input device methods.

virtual IAccelerometerCreateAccelerometer (const String &name)=0
 Forward to Input::IDeviceHandler::AddAccelerometerDevice().
 
virtual Bool DestroyAccelerometer (IAccelerometer *&accelerometer)=0
 Forward to Input::IDeviceHandler::RemoveAccelerometerDevice().
 
virtual IGyroscopeCreateGyroscope (const String &name)=0
 Forward to Input::IDeviceHandler::AddGyroscopeDevice().
 
virtual Bool DestroyGyroscope (IGyroscope *&gyroscope)=0
 Forward to Input::IDeviceHandler::RemoveGyroscopeDevice().
 
virtual IHeadingCreateHeading (const String &name)=0
 Forward to Input::IDeviceHandler::AddHeadingDevice().
 
virtual Bool DestroyHeading (IHeading *&heading)=0
 Forward to Input::IDeviceHandler::RemoveHeadingDevice().
 
virtual ILocationCreateLocation (const String &name)=0
 Forward to Input::IDeviceHandler::AddLocationDevice().
 
virtual Bool DestroyLocation (ILocation *&location)=0
 Forward to Input::IDeviceHandler::RemoveLocationDevice().
 
virtual IGameControllerCreateGameController (const String &name)=0
 Forward to Input::IDeviceHandler::AddGameControllerDevice().
 
virtual Bool DestroyGameController (IGameController *&gameController)=0
 Forward to Input::IDeviceHandler::RemoveGameControllerDevice().
 
virtual IKeyboardCreateKeyboard (const String &name)=0
 Forward to Input::IDeviceHandler::AddKeyboardDevice().
 
virtual Bool DestroyKeyboard (IKeyboard *&keyboard)=0
 Forward to Input::IDeviceHandler::RemoveKeyboardDevice().
 
virtual IMotionCreateMotion (const String &name)=0
 Forward to Input::IDeviceHandler::AddMotionDevice().
 
virtual Bool DestroyMotion (IMotion *&motion)=0
 Forward to Input::IDeviceHandler::RemoveMotionDevice().
 
virtual IMouseCreateMouse (const String &name)=0
 Forward to Input::IDeviceHandler::AddMouseDevice().
 
virtual Bool DestroyMouse (IMouse *&mouse)=0
 Forward to Input::IDeviceHandler::RemoveMouseDevice().
 
virtual IOrientationCreateOrientation (const String &name)=0
 Forward to Input::IDeviceHandler::AddOrientationDevice().
 
virtual Bool DestroyOrientation (IOrientation *&orientation)=0
 Forward to Input::IDeviceHandler::RemoveOrientationDevice().
 
virtual IRawButtonCreateRawButton (const String &name)=0
 Forward to Input::IDeviceHandler::AddRawButtonDevice().
 
virtual Bool DestroyRawButton (IRawButton *&rawButton)=0
 Forward to Input::IDeviceHandler::RemoveRawButtonDevice().
 
virtual IRawKeyboardCreateRawKeyboard (const String &name)=0
 Forward to Input::IDeviceHandler::AddRawKeyboardDevice().
 
virtual Bool DestroyRawKeyboard (IRawKeyboard *&rawKeyboard)=0
 Forward to Input::IDeviceHandler::RemoveRawKeyboardDevice().
 
virtual IRawMouseCreateRawMouse (const String &name)=0
 Forward to Input::IDeviceHandler::AddRawMouseDevice().
 
virtual Bool DestroyRawMouse (IRawMouse *&rawMouse)=0
 Forward to Input::IDeviceHandler::RemoveRawMouseDevice().
 
virtual ITouchScreenCreateTouchScreen (const String &name)=0
 Forward to Input::IDeviceHandler::AddTouchScreenDevice().
 
virtual Bool DestroyTouchScreen (ITouchScreen *&touchScreen)=0
 Forward to Input::IDeviceHandler::RemoveTouchScreenDevice().
 
virtual IVirtualMouseGetVirtualMouse ()=0
 Forward to Input::IDeviceHandler::GetVirtualMouse().
 
Output devices

The output device methods.

virtual Bool AddAppControl (IAppControl *appControl)=0
 Forward to Output::IDeviceHandler::AddAppControl().
 
virtual Bool RemoveAppControl (IAppControl *appControl)=0
 Forward to Output::IDeviceHandler::RemoveAppControl().
 
virtual Bool AddKeyboardControl (IKeyboardControl *keyboardControl)=0
 Forward to Output::IDeviceHandler::AddKeyboardControl().
 
virtual Bool RemoveKeyboardControl (IKeyboardControl *keyboardControl)=0
 Forward to Output::IDeviceHandler::RemoveKeyboardControl().
 
virtual Bool AddRumbleControl (IRumbleControl *rumbleControl)=0
 Forward to Output::IDeviceHandler::AddRumbleControl().
 
virtual Bool RemoveRumbleControl (IRumbleControl *rumbleControl)=0
 Forward to Output::IDeviceHandler::RemoveRumbleControl().
 
virtual Bool AddAppStoreControl (IAppStoreControl *appStoreControl)=0
 Forward to Output::IDeviceHandler::AddAppStoreControl().
 
virtual Bool RemoveAppStoreControl (IAppStoreControl *appStoreControl)=0
 Forward to Output::IDeviceHandler::RemoveAppStoreControl().
 
virtual Bool AddCloudControl (ICloudControl *cloudControl)=0
 Forward to Output::IDeviceHandler::AddCloudControl().
 
virtual Bool RemoveCloudControl (ICloudControl *cloudControl)=0
 Forward to Output::IDeviceHandler::RemoveCloudControl().
 
virtual Bool AddGameCenterControl (IGameCenterControl *gameCenterControl)=0
 Forward to Output::IDeviceHandler::AddGameCenterControl().
 
virtual Bool RemoveGameCenterControl (IGameCenterControl *gameCenterControl)=0
 Forward to Output::IDeviceHandler::RemoveGameCenterControl().
 
virtual Bool AddSystemDialogControl (ISystemDialogControl *systemDialogControl)=0
 Forward to Output::IDeviceHandler::AddSystemDialogControl().
 
virtual Bool RemoveSystemDialogControl (ISystemDialogControl *systemDialogControl)=0
 Forward to Output::IDeviceHandler::RemoveSystemDialogControl().
 
virtual Bool AddSystemFontControl (ISystemFontControl *systemFontControl)=0
 Forward to Output::IDeviceHandler::AddSystemFontControl().
 
virtual Bool RemoveSystemFontControl (ISystemFontControl *systemFontControl)=0
 Forward to Output::IDeviceHandler::RemoveSystemFontControl().
 
virtual Bool AddWebControl (IWebControl *webControl)=0
 Forward to Output::IDeviceHandler::AddWebControl().
 
virtual Bool RemoveWebControl (IWebControl *webControl)=0
 Forward to Output::IDeviceHandler::RemoveWebControl().
 
virtual Bool AddScreenshotControl (IScreenshotControl *screenshotControl)=0
 Forward to Output::IDeviceHandler::AddScreenshotControl().
 
virtual Bool RemoveScreenshotControl (IScreenshotControl *screenshotControl)=0
 Forward to Output::IDeviceHandler::RemoveScreenshotControl().
 
virtual Bool AddPreferencesControl (IPreferencesControl *preferencesControl)=0
 Forward to Output::IDeviceHandler::AddPreferencesControl().
 
virtual Bool RemovePreferencesControl (IPreferencesControl *preferencesControl)=0
 Forward to Output::IDeviceHandler::RemovePreferencesControl().
 
virtual Bool AddTelephonyControl (ITelephonyControl *telephonyControl)=0
 Forward to Output::IDeviceHandler::AddTelephonyControl().
 
virtual Bool RemoveTelephonyControl (ITelephonyControl *telephonyControl)=0
 Forward to Output::IDeviceHandler::RemoveTelephonyControl().
 
virtual Bool AddMediaControl (IMediaControl *mediaControl)=0
 Forward to Output::IDeviceHandler::AddMediaControl().
 
virtual Bool RemoveMediaControl (IMediaControl *mediaControl)=0
 Forward to Output::IDeviceHandler::RemoveMediaControl().
 
virtual Bool AddMusicPlayerControl (IMusicPlayerControl *musicPlayerControl)=0
 Forward to Output::IDeviceHandler::AddMusicPlayerControl().
 
virtual Bool RemoveMusicPlayerControl (IMusicPlayerControl *musicPlayerControl)=0
 Forward to Output::IDeviceHandler::RemoveMusicPlayerControl().
 
virtual Bool AddCustomControl (ICustomControlable *customControl)=0
 Forward to Output::IDeviceHandler::AddCustomControl(ICustomControlable* customControl).
 
virtual Bool AddCustomControl (const String &name, ICustomControlable *customControl)=0
 Forward to Output::IDeviceHandler::AddCustomControl(const String& name, ICustomControlable* customControl).
 
virtual ICustomControlableRemoveCustomControl (const String &name)=0
 Forward to Output::IDeviceHandler::RemoveCustomControl(const String& name).
 
virtual Bool RemoveCustomControl (const ICustomControlable *customControl)=0
 Forward to Output::IDeviceHandler::RemoveCustomControl(const ICustomControlable* customControl).
 
virtual ICustomControlableGetCustomControl (const String &name)=0
 Forward to Output::IDeviceHandler::GetCustomControl().
 
virtual UInt32 GetNumberOfCustomControls () const =0
 Forward to Output::IDeviceHandler::GetNumberOfCustomControls().
 
virtual ICustomControlableGetCustomControl (UInt32 index)=0
 Forward to Output::IDeviceHandler::GetCustomControl().
 
Platform interfaces

Audio / Video / File interface.

virtual Bool SetVideoInterface (IVideoInterface *videoInterface)=0
 Set the platform video interface. More...
 
virtual Bool SetAudioInterface (IAudioInterface *audioInterface)=0
 Set the platform audio interface. More...
 
virtual Bool SetFileInterface (IFileInterface *fileInterface)=0
 Set the platform file interface. More...
 

Detailed Description

The main device handler interface.

Member Function Documentation

◆ Init()

virtual Bool Murl::IDeviceHandler::Init ( const IAppConfiguration appConfig)
pure virtual

Initialize the device handler.

Parameters
appConfigThe application configuration object.
Returns
true if successful.

◆ DeInit()

virtual Bool Murl::IDeviceHandler::DeInit ( )
pure virtual

Deinitialize the device handler.

Returns
true if successful.

◆ SetVideoInterface()

virtual Bool Murl::IDeviceHandler::SetVideoInterface ( IVideoInterface videoInterface)
pure virtual

Set the platform video interface.

Parameters
videoInterfaceThe video interface.
Returns
true if successful.

◆ SetAudioInterface()

virtual Bool Murl::IDeviceHandler::SetAudioInterface ( IAudioInterface audioInterface)
pure virtual

Set the platform audio interface.

Parameters
audioInterfaceThe audio interface.
Returns
true if successful.

◆ SetFileInterface()

virtual Bool Murl::IDeviceHandler::SetFileInterface ( IFileInterface fileInterface)
pure virtual

Set the platform file interface.

Parameters
fileInterfaceThe file interface.
Returns
true if successful.

The documentation for this interface was generated from the following file:
  • murl_i_device_handler.h


Copyright © 2011-2024 Spraylight GmbH.