📄 bencoolenapp.h
字号:
/*
* BencoolenApp.h
*
* Copyright 2005 - 2008, Antony Pranata
* http://www.antonypranata.com
*
* Project: Screenshot for Symbian OS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef BENCOOLENAPP_H
#define BENCOOLENAPP_H
// INCLUDES
#include <symbianvariant.h>
#ifdef __S60__
#include <aknapp.h>
#else
#include <qikapplication.h>
#endif
// CONSTANTS
#ifdef EKA2
const TUid KUidBencoolen = { 0xE0006281 }; // UID of the application
#else
const TUid KUidBencoolen = { 0x10204AFE }; // UID of the application
#endif
const TUid KUidBencoolenIniFile = { 0x101 }; // the ID for the .ini file
// CLASS DECLARATION
/**
* Provides factory to create concrete document object.
*/
class CBencoolenApp : public CSymbianApplication
{
public: // From CEikApplication
/**
* Opens .ini file used to store persitent data.
* @return The dictionary store to the .ini file.
*/
CDictionaryStore* OpenIniFileLC(RFs &aFs) const;
private: // From CEikApplication
/**
* Creates CBencoolenDocument document object.
* @return A pointer to the created document object.
*/
CApaDocument* CreateDocumentL();
/**
* Returns application's UID (KUidBencoolen).
* @return The value of KUidBencoolen.
*/
TUid AppDllUid() const;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -