shoppinglistapplication.cpp

来自「Symbian 的购物程序 shoppinglist-vc」· C++ 代码 · 共 32 行

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

// INCLUDE FILES
#include "ShoppingListDocument.h"
#include "ShoppingListApplication.h"

// UID for the application; this should correspond to the uid defined in the mmp file
const TUid KUidShoppingListApp = {0x10005BBC};

// ================= MEMBER FUNCTIONS =======================

// ---------------------------------------------------------
// CShoppingListApplication::CreateDocumentL()
// ---------------------------------------------------------
//
CApaDocument* CShoppingListApplication::CreateDocumentL()
    {  
    // Create an ShoppingList document, and return a pointer to it
    return ( static_cast<CApaDocument*>( CShoppingListDocument::NewL( *this ) ) ); 
    }

// ---------------------------------------------------------
// CShoppingListApplication::AppDllUid()
// ---------------------------------------------------------
//
TUid CShoppingListApplication::AppDllUid() const
    {
    // Return the UID for the ShoppingList application
    return KUidShoppingListApp;
    }

// End of File

⌨️ 快捷键说明

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