mdictionary.hrh

来自「用于symbian手机的词典工具.绝对有用。」· HRH 代码 · 共 87 行

HRH
87
字号
/*
* MDictionary - dictionary program for Symbian cellular phones
*
* Copyright (C) 2005 Egyeki Gergely
*
* 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*
*/
#ifndef __MDICTIONARY_HRH__
#define __MDICTIONARY_HRH__

#define  DEF_DOC_NAME	"MdicSave"

#define LIST_ARRAY_LENGTH		1000
#define RESULT_ARRAY_LENGTH		100
#define DICLIST_ARRAY_LENGTH	30
#define DRIVELIST_MAX_COUNT		30
#define FILEFILTERLENGTH		5
#define KAknExListFindBoxTextLength	20
#define KStoreArrayLength			10
#define KDataTextMaxLength			100
#define KListMaxLength				4
#define TITLE_MAX_LENGTH		25
#define MESSAGE_MAX_LENGTH		150
#define K2LangMaxLength			420
#define KLangMaxLength			150
#define KDicPathLength			28
#define KMaxPopupHeigth			8
#define KTextMaxLength			22
#define KSqlStringLength		200
#define DELIM_CHAR				13
#define LANG_MAX_LENGTH			25
#define KWordMaxLength			40




// MDictionary enumerate command codes
enum TMDictionaryCommandIds
{
	EMDictionarySearch1 = 1,  // start value must not be 0
	EMDictionarySearch2,
	EMDictionarySearchEx1,
	EMDictionarySearchEx2,
	EMDictionaryChangeDic,
	EMDictionaryAboutPrg,
	EMDictionaryAboutDic
};


//Dialogs IDs
enum TDialogsID
{
	EWaitNoteID = 1001,
	ESearchNoteID
};


enum TMDictionaryNumber
{
	EMDictionaryAppView1Id = 1,
	EMDictionaryAppView2Id,
	EMDictionaryResultViewId
};



enum TMDictionaryMenuTabViewId
{
    ELang1MenuTab = 1,
    ELang2MenuTab
};


#endif // __MDICTIONARY_HRH__

⌨️ 快捷键说明

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