appconfig.h

来自「linux-下的fetion-0.8.1。包括所有源代码」· C头文件 代码 · 共 94 行

H
94
字号
/*************************************************************************** *   Copyright (C) 2008 by DDD                                          * *   dedodong@163.com                                                     * *                                                                         * *   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 FXAPPCONFIG_H #define FXAPPCONFIG_H #include <QMainWindow>#include <QTreeWidget>#include <qobject.h>#include <libfetion/libfetion.h>#include "fxResource.h"#include "fxdb.h"#include "fxsettings.h"#include "fxuitl.h"#define BUILD_DATE	20080828#define	CURRENT_VERSION	81#define VERSION_NO "v0.8.1"#define CONFFILENAME    "libfetion.conf"#define DBNAME    "libfx.db"#define MAC_OS 0#ifdef WIN32 #pragma comment(lib, "./lib/LibFetion.lib") #endif//#define WIN32  0#define MS_VC6 0#ifndef MS_VC6#ifdef WIN32 #if _MSC_VER < 1300  //vc6 complile #define MS_VC6 1#else  //vc7 up #define MS_VC6 0#endif#else //linux platform#define MS_VC6 0#endif //#ifdef WIN32 #endif //#ifndef MS_VC6#define NO_SET  0#define NET_ERR 1#define NEW_MSG 2#define SYS_DeRegist 3#define SYS_RELOGIN 4typedef struct _Group_Info{	QString groupName;	qlonglong groupID;	int online_no;}Group_Info;typedef struct _Account_Info{	QString accountName;	qlonglong accountID;	int onlinestate;}Account_Info;typedef struct _Qun_Info{	QString qunName;	qlonglong qunID;}Qun_Info;#if MS_VC6#elseQ_DECLARE_METATYPE(Group_Info *);Q_DECLARE_METATYPE(Account_Info *);Q_DECLARE_METATYPE(Qun_Info *);#endif#endif

⌨️ 快捷键说明

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