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

📄 imageconverterapp.cpp

📁 这个源代码是symbian下实现图片旋转及缩放的例子代码。对图片处理时有帮助。
💻 CPP
字号:
/*
* ============================================================================
*  Name     : CImageConverterApp from ImageConverterApp.cpp
*  Part of  : ImageConverter
*  Created  : May 14, 2006 by Forum Nokia
*  Version  : 2.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

// INCLUDE FILES
#ifdef __SERIES60_3X__
#include <eikstart.h>
#endif

#include "ImageConverterApp.h"
#include "ImageConverterDocument.h"

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

// ---------------------------------------------------------
// CImageConverterApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CImageConverterApp::AppDllUid() const
    {
    return KUidImageConverter;
    }

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

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


// -----------------------------------------------------------------------------
//	Entry point function for Symbian Apps, separate function for
//	S60 3rd Ed and 1st/2nd Ed
// -----------------------------------------------------------------------------
#ifdef __SERIES60_3X__
GLDEF_C TInt E32Main()
    {
    return EikStart::RunApplication( NewApplication );
    }

#else
GLDEF_C TInt E32Dll( TDllReason )
    {
    return KErrNone;
    }
#endif
// End of File  

⌨️ 快捷键说明

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