📄 calendarapiexampleapp.cpp
字号:
/*
* ============================================================================
* Name : CCalendarAPIexampleApp from CalendarAPIexampleApp.h
* Part of : CalendarAPIexample
* Created : 12/06/2006 by Forum Nokia
* Version : 2.0
* Copyright: Nokia Corporation
* ============================================================================
*/
// INCLUDE FILES
#include <eikstart.h>
#include "CalendarAPIexampleApp.h"
#include "CalendarAPIexampleDocument.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CCalendarAPIexampleApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CCalendarAPIexampleApp::AppDllUid() const
{
return KUidCalendarAPIexample;
}
// ---------------------------------------------------------
// CCalendarAPIexampleApp::CreateDocumentL()
// Creates CCalendarAPIexampleDocument object
// ---------------------------------------------------------
//
CApaDocument* CCalendarAPIexampleApp::CreateDocumentL()
{
return CCalendarAPIexampleDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CCalendarAPIexampleApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return (static_cast<CApaApplication*>(new CCalendarAPIexampleApp));
}
// ---------------------------------------------------------
// E32Main()
// Entry point function for Symbian OS Apps
// Returns: TInt
// ---------------------------------------------------------
//
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -