bbobd-win32.cpp File Reference

#include "bbobd-win32.h"

Include dependency graph for bbobd-win32.cpp:

Go to the source code of this file.

Functions

void usage ()
void myMessageOutput (QtMsgType type, const char *msg)
void WINAPI ServiceMain (DWORD argc, LPTSTR *argv)
void AddToMessageLog (WORD wType, char *pszFormat,...)
void WINAPI ServiceCtrlHandler (DWORD Opcode)
BOOL InstallService ()
BOOL DeleteService ()
BOOL StartService ()
BOOL StopService ()
void wtoc (char *Dest, TCHAR *Source, int SourceSize)
void ctow (TCHAR *Dest, char *Source)

Variables

WCHAR * name
QString desc
DWORD dwErr
BOOL bDebug
bbobdThreadthread
SERVICE_STATUS m_ServiceStatus
SERVICE_STATUS_HANDLE m_ServiceStatusHandle


Function Documentation

void AddToMessageLog ( WORD  wType,
char *  pszFormat,
  ... 
)

Definition at line 96 of file bbobd-win32.cpp.

Referenced by myMessageOutput().

void ctow ( TCHAR *  Dest,
char *  Source 
)

Definition at line 384 of file bbobd-win32.cpp.

Referenced by AddToMessageLog().

BOOL DeleteService (  ) 

Definition at line 235 of file bbobd-win32.cpp.

Referenced by DeleteService(), and main().

BOOL InstallService (  ) 

Definition at line 160 of file bbobd-win32.cpp.

Referenced by main().

void myMessageOutput ( QtMsgType  type,
const char *  msg 
)

Custom handling of application messages.

Special handling of messages like qWarning(), qDebug(), qCritical(), and qFatal()

Definition at line 35 of file bbobd-win32.cpp.

References AddToMessageLog(), and QString::toAscii().

Here is the call graph for this function:

void WINAPI ServiceCtrlHandler ( DWORD  Opcode  ) 

Definition at line 130 of file bbobd-win32.cpp.

Referenced by ServiceMain().

void WINAPI ServiceMain ( DWORD  argc,
LPTSTR *  argv 
)

Definition at line 64 of file bbobd-win32.cpp.

Referenced by main().

BOOL StartService (  ) 

Definition at line 276 of file bbobd-win32.cpp.

Referenced by main(), and StartService().

BOOL StopService (  ) 

Definition at line 325 of file bbobd-win32.cpp.

Referenced by main().

void usage (  ) 

Definition at line 17 of file bbobd-win32.cpp.

Referenced by main().

void wtoc ( char *  Dest,
TCHAR *  Source,
int  SourceSize 
)

Definition at line 375 of file bbobd-win32.cpp.

Referenced by InstallService().


Variable Documentation

BOOL bDebug

Definition at line 7 of file bbobd-win32.cpp.

QString desc

Definition at line 5 of file bbobd-win32.cpp.

Referenced by main().

DWORD dwErr

Definition at line 6 of file bbobd-win32.cpp.

SERVICE_STATUS m_ServiceStatus

Definition at line 11 of file bbobd-win32.cpp.

Referenced by ServiceCtrlHandler(), and ServiceMain().

SERVICE_STATUS_HANDLE m_ServiceStatusHandle

Definition at line 12 of file bbobd-win32.cpp.

Referenced by ServiceCtrlHandler(), and ServiceMain().

WCHAR* name

Definition at line 4 of file bbobd-win32.cpp.

Referenced by AddToMessageLog(), DeleteService(), FmodMeterAutoDialog::FmodMeterAutoDialog(), FmodSoundSystem::FmodSoundSystem(), InstallService(), BCore::loadCues(), FmodSystemPlugin::LoadSettings(), main(), Qonsole::Qonsole(), SDLJoyStick::SDLJoyStick(), ServiceMain(), StartService(), and StopService().

bbobdThread* thread

Definition at line 9 of file bbobd-win32.cpp.


Generated on Sun Oct 28 22:51:30 2007 for BBoB by  doxygen 1.5.3