aknexqueryapp.cpp

来自「symbian ui的 例子 初学者可以 好好看看,这个是培训的资料,应该比较宝」· C++ 代码 · 共 67 行

CPP
67
字号
/*
* ==============================================================================
*  Name        : aknexqueryapp.cpp
*  Part of     : Query example
*  Interface   :
*  Description :
*  Version     :
*
*  Copyright (c) 2004 - 2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ==============================================================================
*/

// INCLUDE FILES
#include <eikstart.h>

#include "AknExQueryApp.h"
#include "AknExQueryDocument.h"

// ----------------------------------------------------------------------------
// 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;
    }

// ----------------------------------------------------------------------------
// TInt E32Main()
// Entry point function for EPOC Apps.
// Returns: TInt:   Error if starting the app through framework wasn't succesful
// ----------------------------------------------------------------------------
//
GLDEF_C TInt E32Main()
    {
    return EikStart::RunApplication( NewApplication );
    }

// End of File

⌨️ 快捷键说明

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