aknexqueryapp.cpp

来自「symbian中询问对话框生成的源代码 适合初学者使用。」· C++ 代码 · 共 56 行

CPP
56
字号
/*  Copyright (c) 2004, Nokia. All rights reserved */

// INCLUDE FILES
#include "AknExQueryApp.h"
#include "AknExQueryDocument.h"

// FUNCTION PROTOTYPES
EXPORT_C CApaApplication* NewApplication();
GLDEF_C TInt E32Dll( TDllReason );

// ----------------------------------------------------------------------------
// CAknExQueryApp::CreateDocumentL()
// Creates CAknExQueryDocument object
// ----------------------------------------------------------------------------
//
CApaDocument* CAknExQueryApp::CreateDocumentL()
    {
    return CAknExQueryDocument::NewL( *this );
    }

// ----------------------------------------------------------------------------
// CAknExQueryApp::AppDllUid()
// Returns application UID
// ----------------------------------------------------------------------------
//
TUid CAknExQueryApp::AppDllUid() const
    {
    return KUidAknExQuery;
    }

// ================= OTHER EXPORTED FUNCTIONS =================================
//
// ----------------------------------------------------------------------------
// NewApplication()
// Constructs CAknExQueryApp
// Returns: CApaDocument*: created application object
// ----------------------------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
    {
    return new CAknExQueryApp;
    }

// ----------------------------------------------------------------------------
// E32Dll( TDllReason )
// Entry point function for Symbian Apps
// Returns: KErrNone: No error
// ----------------------------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
    {
    return KErrNone;
    }

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?