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

📄 chmapp.h

📁 一个CHM在LINUX下的使用工具
💻 H
字号:
/*  Copyright (C) 2003  Razvan Cojocaru <razvanco@gmx.net>   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., 675 Mass Ave, Cambridge, MA 02139, USA.*/#ifndef __CHMAPP_H_#define __CHMAPP_H_#include <config.h>#include <wx/wx.h>#include <wx/intl.h>#include <wx/cmdline.h>#ifdef WITH_LIBXMLRPC#	define TIMER_ID	wxID_HIGHEST + 1#	include <XmlRpc.h>using namespace XmlRpc;#endif// Forward declaration.class CHMFrame;/*!   \class wxApp  \brief wxWidgets application class.*///! This is the application class.#ifdef WITH_LIBXMLRPCclass CHMApp : public wxApp, public XmlRpcServerMethod {#elseclass CHMApp : public wxApp {#endif#ifdef WITH_LIBXMLRPCpublic:	//! Default constructor, also links the XMLRPC method	CHMApp();#endif	//! Our entry point into the application.	virtual bool OnInit();#ifdef __WXMAC__	//! Respond to Apple Event for opening a document	virtual void MacOpenFile(const wxString& filename);#endifprotected:#ifdef WITH_LIBXMLRPC	//! Handles actual XMLRPC requests and parameter parsing.	void execute(XmlRpcValue& params, XmlRpcValue& result);	//! Watches for XMLRPC requests	void WatchForXMLRPC( wxTimerEvent& event );#endifprivate:	CHMFrame* _frame;	wxLocale _loc;#ifdef WITH_LIBXMLRPC	wxTimer _timer;#endif	wxCmdLineParser _cmdLP;#ifdef WITH_LIBXMLRPC	DECLARE_EVENT_TABLE()#endif};#endif // __CHMAPP_H_

⌨️ 快捷键说明

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