📄 symbianvariant.h
字号:
/*
* symbianvariant.h
*
* Copyright 2005 - 2007, 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 2 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, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
//
// This header file defines a lot of flag that indicates the variant
// of Symbian SDKs, for example S60, UIQ, etc.
//
// It has to be copied to \epoc32\include directory of each Symbian SDK
// and has to be customized.
//
#ifndef SYMBIANVARIANT_H
#define SYMBIANVARIANT_H
//
// Flag to change the target UI, i.e. S60 or UIQ
// This also indicates the version of the SDK.
// For example
// * In S60:
// - 100 means S60 SDK 1st Ed (a.k.a. 0.9)
// - 101 means S60 SDK 1st Ed FP1 (a.k.a. 1.2)
// - 200 means S60 SDK 2nd Ed (a.k.a. 2.0)
// - 201 means S60 SDK 2nd Ed FP 1 (a.k.a. 2.1)
// - 202 means S60 SDK 2nd Ed FP 2
// - 203 means S60 SDK 2nd Ed FP 3
// - 300 means S60 SDK 3rd Ed
//
// * In UIQ:
// - 210 means UIQ SD 2.1
//
#define __S60__ 203
// #define __UIQ__ 210
//
// Classes declaration that is independent from UI
//
#ifdef __S60__
#define CSymbianApplication CAknApplication
#define CSymbianDocument CAknDocument
#define CSymbianAppUi CAknAppUi
#else
#define CSymbianApplication CQikApplication
#define CSymbianDocument CQikDocument
#define CSymbianAppUi CQikAppUi
#endif
#endif // SYMBIANVARIANT_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -