⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 brctlsampleapp.cpp

📁 S60上实现嵌入式浏览器,可以在应用程序中嵌入浏览器,实现IE功能
💻 CPP
字号:
/*
* ============================================================================
*  Name         : BrCtlSampleApp.cpp
*  Part of      : BrCtlSampleApp
*  Interface    : Browser Control API
*  Description  : Implements the main application class.
*  Version      : 
*
*  Copyright (c) 2005-2006 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation. 
* ============================================================================
*/

// INCLUDE FILES
#include "BrCtlSampleApp.h"
#include "BrCtlSampleAppDocument.h"
#include <eikstart.h>

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

// ---------------------------------------------------------
// CBrCtlSampleApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CBrCtlSampleApp::AppDllUid() const
    {
    return KUidBrCtlSampleApp;
    }

// ---------------------------------------------------------
// CDictionaryStore* CBrCtlSampleApp::OpenIniFileLC(RFs& aFs) const
// overrides CAknApplication::OpenIniFileLC to enable INI file support
// ---------------------------------------------------------
//
CDictionaryStore* CBrCtlSampleApp::OpenIniFileLC(RFs& aFs) const
{
    return CEikApplication::OpenIniFileLC(aFs);
}
   
// ---------------------------------------------------------
// CBrCtlSampleApp::CreateDocumentL()
// Creates CBrCtlSampleAppDocument object
// ---------------------------------------------------------
//
CApaDocument* CBrCtlSampleApp::CreateDocumentL()
    {
    return CBrCtlSampleAppDocument::NewL( *this );
    }

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

// ---------------------------------------------------------
//    E32Main
//    Main function for Symbian OS v9 EXE application
//    Returns: TInt
// ---------------------------------------------------------
GLDEF_C TInt E32Main()
    {
    return EikStart::RunApplication( NewApplication );
    }

// End of File  

⌨️ 快捷键说明

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