ScummVM API documentation
Bagel::CBofApp Class Referenceabstract
Inheritance diagram for Bagel::CBofApp:
Bagel::CBofError Bagel::CBagel Bagel::SpaceBar::SpaceBarEngine

Public Member Functions

 CBofApp (const char *pszAppName)
 
ErrorCode preInit ()
 
void postShutDown ()
 
virtual ErrorCode initialize ()
 
virtual ErrorCode runApp ()
 
virtual ErrorCode shutdown ()
 
virtual void setAppName (const char *pszNewAppName)
 
const char * getAppName () const
 
void setMainWindow (CBofWindow *pWnd)
 
CBofWindowgetMainWindow () const
 
CBofWindowgetActualWindow () const
 
void setPalette (CBofPalette *pPalette)
 
CBofPalettegetPalette () const
 
int screenWidth () const
 
int screenHeight () const
 
int screenDepth () const
 
CBofCursor getDefaultCursor () const
 
void setDefaultCursor (CBofCursor &cCursor)
 
void addCursor (CBofCursor &cCursor)
 
void delCursor (int nIndex)
 
CBofCursor getCursor (int nIndex)
 
int getNumberOfCursors () const
 
void setCaptureControl (CBofWindow *ctl)
 
CBofWindowgetCaptureControl () const
 
void setFocusControl (CBofWindow *ctl)
 
CBofWindowgetFocusControl () const
 
bool consolePlayVideo (const Common::Path &path)
 
- Public Member Functions inherited from Bagel::CBofError
void reportError (ErrorCode errCode, const char *format,...)
 
bool errorOccurred () const
 
ErrorCode getErrorCode () const
 
void clearError ()
 

Static Public Member Functions

static uint32 getMachineSpeed ()
 
static CBofAppgetApp ()
 
- Static Public Member Functions inherited from Bagel::CBofError
static void fatalError (ErrorCode errCode, const char *format,...)
 
static void initialize ()
 
static int getErrorCount ()
 

Protected Member Functions

void StartupCode ()
 
void ShutDownCode ()
 
virtual bool shouldQuit () const =0
 
- Protected Member Functions inherited from Bagel::CBofError
virtual void bofMessageBox (const Common::String &content, const Common::String &title)
 

Protected Attributes

char _szAppName [128] = { 0 }
 
CBofList< CBofCursor_cCursorList
 
CBofCursor _cDefaultCursor
 
CBofWindow_pMainWnd = nullptr
 
CBofPalette_pPalette = nullptr
 
CBofPalette_pDefPalette = nullptr
 
int _nScreenDX = 0
 
int _nScreenDY = 0
 
int _nColorDepth = 0
 
int _nIterations = 1
 
- Protected Attributes inherited from Bagel::CBofError
ErrorCode _errCode
 

Static Protected Attributes

static CBofApp_pBofApp
 
- Static Protected Attributes inherited from Bagel::CBofError
static int _count
 

The documentation for this class was generated from the following file: