📄 smscryptosymbiancppuiapplication.cpp
字号:
/*
* ============================================================================
* Name : SMSCryptoSymbianCppUIApplication.cpp
* Part of : Open C SMS Crypto Example
* Created : 05/25/2007 by Forum Nokia
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#include "SMSCryptoSymbianCppUIApplication.h"
#include "SMSCryptoSymbianCppUIDocument.h"
#ifdef EKA2
#include <eikstart.h>
#endif
/**
* @brief Returns the application's UID (override from CApaApplication::AppDllUid())
* @return UID for this application (KUidSMSCryptoSymbianCppUIApplication)
*/
TUid CSMSCryptoSymbianCppUIApplication::AppDllUid() const
{
return KUidSMSCryptoSymbianCppUIApplication;
}
/**
* @brief Creates the application's document (override from CApaApplication::CreateDocumentL())
* @return Pointer to the created document object (CSMSCryptoSymbianCppUIDocument)
*/
CApaDocument* CSMSCryptoSymbianCppUIApplication::CreateDocumentL()
{
return CSMSCryptoSymbianCppUIDocument::NewL( *this );
}
#ifdef EKA2
/**
* @brief Called by the application framework to construct the application object
* @return The application (CSMSCryptoSymbianCppUIApplication)
*/
LOCAL_C CApaApplication* NewApplication()
{
return new CSMSCryptoSymbianCppUIApplication;
}
/**
* @brief This standard export is the entry point for all Series 60 applications
* @return error code
*/
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
#else // Series 60 2.x main DLL program code
/**
* @brief This standard export constructs the application object.
* @return The application (CSMSCryptoSymbianCppUIApplication)
*/
EXPORT_C CApaApplication* NewApplication()
{
return new CSMSCryptoSymbianCppUIApplication;
}
/**
* @brief This standard export is the entry point for all Series 60 applications
* @return error code
*/
GLDEF_C TInt E32Dll(TDllReason /*reason*/)
{
return KErrNone;
}
#endif // EKA2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -