cssyncapplication.cpp

来自「Symbian Client_Server_Application」· C++ 代码 · 共 44 行

CPP
44
字号
/*
* ==============================================================================
*  Name        :CSSyncApplication.cpp
*  Part of     : clientserversync
*  Interface   : 
*  Description : 
*  Version     : 
* ==============================================================================
*/
// INCLUDE FILES
#include "CSSyncDocument.h"
#include "CSSyncApplication.h"

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

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

// -----------------------------------------------------------------------------
// CCSSyncApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CCSSyncApplication::CreateDocumentL()
    {
    // Create an CSSync document, and return a pointer to it
    return (static_cast<CApaDocument*>
                    ( CCSSyncDocument::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CCSSyncApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CCSSyncApplication::AppDllUid() const
    {
    // Return the UID for the CSSync application
    return KUidCSSyncApp;
    }

// End of File

⌨️ 快捷键说明

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