#include <stdlib.h>
#include <string>
#include <mmsbase/interfaces/immsswitcher.h>
Go to the source code of this file.
Defines | |
#define | MMSINIT_NONE 0x00000000 |
none | |
#define | MMSINIT_WINDOWMANAGER 0x00000001 |
initializing the window manager | |
#define | MMSINIT_PLUGINMANAGER 0x00000002 |
initializing the plugin manager (the configdb where the plugins are defined is required) | |
#define | MMSINIT_EVENTS 0x00000004 |
initializing the event manager | |
#define | MMSINIT_GRAPHICS 0x00000008 |
initializing the graphic backends (x11/dfb/fbdev/...) | |
#define | MMSINIT_INPUTS 0x00000010 |
initializing the input manager | |
#define | MMSINIT_THEMEMANAGER 0x00000020 |
initializing the theme manager | |
#define | MMSINIT_WINDOWS 0x00000039 |
initializing the graphic backends including the window, the input and the theme manager | |
#define | MMSINIT_FULL 0x0000003f |
initializing all components | |
#define | MMSINIT_SILENT 0x00000100 |
silent mode (no output) | |
#define | MMSINIT_NO_CONSOLE 0x00000200 |
no virtual console will be opened and screen will not cleared during startup | |
#define | MMSINIT_FLIP_FLUSH 0x00000400 |
disko should trigger an pan event to frame buffer driver every time current read buffer has changed (e.g. due to flipping regions) | |
Typedefs | |
typedef int | MMSINIT_FLAGS |
type of the init flags | |
Functions | |
bool | mmsInit (MMSINIT_FLAGS flags, int argc=0, char *argv[]=NULL, string configfile="", string appl_name="Disko Application", string appl_icon_name="Disko Application", MMSConfigDataGlobal *global=NULL, MMSConfigDataDB *configdb=NULL, MMSConfigDataDB *datadb=NULL, MMSConfigDataGraphics *graphics=NULL, MMSConfigDataLanguage *language=NULL) |
bool | mmsRelease () |
bool | registerSwitcher (IMMSSwitcher *switcher) |
void | setPluginRegisterCallback (void(*cb)(MMSPluginManager *)) |
IMMSWindowManager * | getWindowManager () |
void | setPluginManager (MMSPluginManager *pm) |
MMSPluginManager * | getPluginManager () |
MMSFBLayer * | getVideoLayer () |
get access to the video layer | |
MMSFBLayer * | getGraphicsLayer () |
get access to the graphics layer | |
void | showBackgroundWindow () |
show the background window |
#define MMSINIT_EVENTS 0x00000004 |
#define MMSINIT_FLIP_FLUSH 0x00000400 |
#define MMSINIT_FULL 0x0000003f |
#define MMSINIT_GRAPHICS 0x00000008 |
#define MMSINIT_INPUTS 0x00000010 |
#define MMSINIT_NO_CONSOLE 0x00000200 |
#define MMSINIT_PLUGINMANAGER 0x00000002 |
#define MMSINIT_THEMEMANAGER 0x00000020 |
#define MMSINIT_WINDOWMANAGER 0x00000001 |
#define MMSINIT_WINDOWS 0x00000039 |
typedef int MMSINIT_FLAGS |
MMSFBLayer* getGraphicsLayer | ( | ) |
get access to the graphics layer
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
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 = 0 , |
|||
char * | argv[] = NULL , |
|||
string | configfile = "" , |
|||
string | appl_name = "Disko Application" , |
|||
string | appl_icon_name = "Disko Application" , |
|||
MMSConfigDataGlobal * | global = NULL , |
|||
MMSConfigDataDB * | configdb = NULL , |
|||
MMSConfigDataDB * | datadb = NULL , |
|||
MMSConfigDataGraphics * | graphics = NULL , |
|||
MMSConfigDataLanguage * | language = NULL | |||
) |
Definition at line 68 of file mmsinit.cpp.
bool mmsRelease | ( | ) |
Definition at line 423 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 | ( | ) |