?? iapconnectapp.cpp
字號:
/*
* ============================================================================
* Name : CIAPConnectApp from IAPConnectApp.cpp
* Part of : Internet Access Points Example v2.0
* Created : 01.09.2006 by Forum Nokia
* Version : 2.0
* Copyright: Forum Nokia
* ============================================================================
*/
// INCLUDE FILES
#ifdef __SERIES60_3X__
#include <eikstart.h>
#endif
#include "IAPConnectApp.h"
#include "IAPConnectDocument.h"
// ========================== MEMBER FUNCTIONS ===============================
// ---------------------------------------------------------------------------
// CIAPConnectApp::AppDllUid()
//
// Returns application UID
// ---------------------------------------------------------------------------
//
TUid CIAPConnectApp::AppDllUid() const
{
return KUidIAPConnect;
}
// ---------------------------------------------------------------------------
// CIAPConnectApp::CreateDocumentL()
//
// Creates CIAPConnectDocument object
// ---------------------------------------------------------------------------
//
CApaDocument* CIAPConnectApp::CreateDocumentL()
{
return CIAPConnectDocument::NewL( *this );
}
// ========================= OTHER EXPORTED FUNCTIONS ========================
//
#ifdef __SERIES60_3X__ //////////// 3rd Ed
// ---------------------------------------------------------------------------
// NewApplication() (3rd Edition)
//
// Constructs CIAPConnectApp
// Returns: created application object
// ---------------------------------------------------------------------------
//
LOCAL_C CApaApplication* NewApplication()
{
return new CIAPConnectApp;
}
// -----------------------------------------------------------------------------
// Entry point function for Symbian Apps (3rd Edition)
// -----------------------------------------------------------------------------
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
#else /////////// 2nd Ed
// ---------------------------------------------------------------------------
// NewApplication() (2nd Edition)
//
// Constructs CIAPConnectApp
// Returns: created application object
// ---------------------------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CIAPConnectApp;
}
// -----------------------------------------------------------------------------
// Entry point function for Symbian Apps (2nd Edition )
// -----------------------------------------------------------------------------
GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}
#endif
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -