📄 mguardscsvrmain.cpp
字号:
/*
* ============================================================================
* Name : MGuardScSvrMain.cpp
* Part of : MGuardScSvr
* Created : 18.08.2007 by xueyw
* Description:
* Exe source file
* Version :
* Copyright:
* ============================================================================
*/
// Include Files
#include "MGuardScSvr.h"
#include <e32base.h>
// ========================== OTHER EXPORTED FUNCTIONS =========================
#ifdef __WINS__
// -----------------------------------------------------------------------------
// WinsMain()
// -----------------------------------------------------------------------------
//
IMPORT_C TInt WinsMain();
EXPORT_C TInt WinsMain()
{
return reinterpret_cast<TInt>( &CMGuardScSvr::ThreadFunction );
}
// -----------------------------------------------------------------------------
// E32Dll()
// Entry point function for Symbian Apps.
// -----------------------------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}
#else // __ARMI__
// -----------------------------------------------------------------------------
// E32Main()
// Provides the API for the operating system to start the executable.
// Returns the address of the function to be called.
// -----------------------------------------------------------------------------
//
TInt E32Main()
{
return CMGuardScSvr::ThreadFunction( NULL );
}
#endif
// End of file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -