|
|
| CMyApp (HINSTANCE hInst=NULL) |
| |
| bool | DoAutoUpdate (const char *lpCmdLine) |
| | do auto update and display the progress More...
|
| |
| bool | CheckLoad () |
| | load the ParaEngine plug in dll if not. More...
|
| |
|
int | Run (HINSTANCE hInst, const char *lpCmdLine) |
| | run the application
|
| |
|
void | AutoUpdaterTimerProc (HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime) |
| | timer callback for auto updater
|
| |
| virtual void | OnProgress (const NPL::IAutoUpdaterClient::ProgressMessage &msg) |
| | auto updater call back. More...
|
| |
| virtual int | SetCommandLine (const char *sCmdLine) |
| | init command line so that we can use IPC calls before calling Run() method. More...
|
| |
| virtual int | SetAppDir () |
| | set working directory More...
|
| |
| virtual bool | BeginCoreUpdate (const char *sCurVersion, const char *sSessionDir) |
| | begin core update. More...
|
| |
| virtual bool | SendHostMsg (int nMsg, DWORD param1=0, DWORD param2=0, const char *filename=NULL, const char *sCode=NULL, int nPriority=0) |
| | sent interprocess message to the host process. More...
|
| |
| virtual void | SendError (int nErrorCode, const char *errorMsg=NULL) |
| | send error message to host app. More...
|
| |
| virtual void | SendLog (const char *logMsg) |
| | send log message to host app. More...
|
| |
| virtual bool | IsUrlTrusted (const std::string &sUrl) |
| | whether the url is from a trusted web domain. More...
|
| |
|
|
static LRESULT CALLBACK | AutoUpdaterWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| | window procedure for a very simple auto updater
|
| |
|
|
typedef std::list< std::string > | Domain_Map_t |
| |
|
bool | TryGetNextCoreUpdateMessage () |
| |
|
NPL::CAutoUpdaterClient * | CreateGetAutoUpdater () |
| |
|
void | ReleaseAutoUpdater () |
| |
| int | DoCoreUpdate_imp () |
| | update the core game engine. More...
|
| |
| static int | MatchFilePattern (const std::string &input, const std::string &sPattern) |
| | whether the input string match a given file pattern. More...
|
| |
|
static bool | IsAlphaNumeric (char c) |
| |
|
std::string | m_sCmdLine |
| |
|
CCommandLineParser * | m_pCmdLineParams |
| |
|
bool | m_bAutoUpdateComplete |
| |
|
NPL::CAutoUpdaterClient * | m_pAutoUpdater |
| |
|
Domain_Map_t | m_trusted_domains |
| |
§ CheckLoad()
| bool CMyApp::CheckLoad |
( |
| ) |
|
load the ParaEngine plug in dll if not.
- Returns
- true if loaded.
§ DoAutoUpdate()
| bool CMyApp::DoAutoUpdate |
( |
const char * |
lpCmdLine | ) |
|
do auto update and display the progress
now do auto update.
§ OnProgress()
The documentation for this class was generated from the following file:
- Client/trunk/ParaEngineClientApp/ParaEngineClientApp.cpp