mmsinit.cpp File Reference

#include <cstring>
#include <libxml/parser.h>
#include "mmscore/mmsinit.h"
#include "mms.h"

Include dependency graph for mmsinit.cpp:

Go to the source code of this file.


Functions

static void on_exit ()
bool mmsInit (MMSINIT_FLAGS flags, int argc, char *argv[], string configfile, string appl_name, string appl_icon_name, MMSConfigDataGlobal *global, MMSConfigDataDB *configdb, MMSConfigDataDB *datadb, MMSConfigDataGraphics *graphics, MMSConfigDataLanguage *language)
bool mmsRelease ()
bool registerSwitcher (IMMSSwitcher *switcher)
void setPluginRegisterCallback (void(*cb)(MMSPluginManager *))
IMMSWindowManagergetWindowManager ()
void setPluginManager (MMSPluginManager *pm)
MMSPluginManagergetPluginManager ()
MMSFBLayergetVideoLayer ()
 get access to the video layer
MMSFBLayergetGraphicsLayer ()
 get access to the graphics layer
void showBackgroundWindow ()
 show the background window

Variables

static MMSPluginManagerpluginmanager = NULL
static MMSEventDispatchereventdispatcher = NULL
static MMSEventSignupManagereventsignupmanager = NULL
static MMSConfigDataconfig = NULL
static MMSEventmasterevent = NULL
static MMSEventSignupmastereventsignup = NULL
static MMSInputManagerinputs = NULL
static MMSThemeManagerthemeManager = NULL
static MMSWindowManagerwindowmanager = NULL
void(* pluginRegisterCallback )(MMSPluginManager *) = NULL

Function Documentation

MMSFBLayer* getGraphicsLayer (  ) 

get access to the graphics layer

Returns:
pointer to the MMSFBLayer graphics layer object
Note:
If using only one layer, the graphics and video layer are the same.

Definition at line 479 of file mmsinit.cpp.

MMSPluginManager* getPluginManager (  ) 

Definition at line 471 of file mmsinit.cpp.

MMSFBLayer* getVideoLayer (  ) 

get access to the video layer

Returns:
pointer to the MMSFBLayer video layer object
Note:
If using only one layer, the graphics and video layer are the same.

Definition at line 475 of file mmsinit.cpp.

IMMSWindowManager* getWindowManager (  ) 

Definition at line 459 of file mmsinit.cpp.

bool mmsInit ( MMSINIT_FLAGS  flags,
int  argc,
char *  argv[],
string  configfile,
string  appl_name,
string  appl_icon_name,
MMSConfigDataGlobal global,
MMSConfigDataDB configdb,
MMSConfigDataDB datadb,
MMSConfigDataGraphics graphics,
MMSConfigDataLanguage language 
)

Definition at line 68 of file mmsinit.cpp.

bool mmsRelease (  ) 

Definition at line 423 of file mmsinit.cpp.

static void on_exit (  )  [static]

Definition at line 60 of file mmsinit.cpp.

bool registerSwitcher ( IMMSSwitcher switcher  ) 

Definition at line 428 of file mmsinit.cpp.

void setPluginManager ( MMSPluginManager pm  ) 

Definition at line 463 of file mmsinit.cpp.

void setPluginRegisterCallback ( void(*)(MMSPluginManager *)  cb  ) 

Definition at line 455 of file mmsinit.cpp.

void showBackgroundWindow (  ) 

show the background window

Definition at line 483 of file mmsinit.cpp.


Variable Documentation

MMSConfigData* config = NULL [static]

Definition at line 50 of file mmsinit.cpp.

Definition at line 48 of file mmsinit.cpp.

Definition at line 49 of file mmsinit.cpp.

MMSInputManager* inputs = NULL [static]

Definition at line 54 of file mmsinit.cpp.

MMSEvent* masterevent = NULL [static]

Definition at line 51 of file mmsinit.cpp.

Definition at line 52 of file mmsinit.cpp.

MMSPluginManager* pluginmanager = NULL [static]

Definition at line 47 of file mmsinit.cpp.

MMSThemeManager* themeManager = NULL [static]

Definition at line 55 of file mmsinit.cpp.

MMSWindowManager* windowmanager = NULL [static]

Definition at line 56 of file mmsinit.cpp.