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

📄 nutconf.h

📁 含有完整TCP/IP PPP协议的嵌入式操作系统
💻 H
字号:
#ifndef _NUTCONF_H_#define _NUTCONF_H_/* ---------------------------------------------------------------------------- * Copyright (C) 2004 by egnite Software GmbH * * 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. * * ---------------------------------------------------------------------------- * Parts are * * Copyright (C) 1998, 1999, 2000 Red Hat, Inc. * * 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. * * ---------------------------------------------------------------------------- *//* * $Log: nutconf.h,v $ * Revision 1.12  2005/07/26 15:57:18  haraldkipp * New keyword "default" to specify default option values. * * Revision 1.11  2005/07/20 09:22:39  haraldkipp * Release 1.2.2 * * Revision 1.10  2005/04/22 15:17:50  haraldkipp * Version 1.2.1 can now run without GUI or with wxWidgets 2.5.5. * * Revision 1.9  2005/02/06 16:39:52  haraldkipp * GBA linker script entry in NutConf.mk fixed * * Revision 1.8  2004/11/24 15:36:53  haraldkipp * Release 1.1.1. * Do not store empty options. * Remove include files from the build tree, if they are no longer used. * Command line parameter 's' allows different settings. * Minor compiler warning fixed. * * Revision 1.7  2004/09/19 15:13:09  haraldkipp * Only one target per OBJx entry * * Revision 1.6  2004/09/17 13:03:48  haraldkipp * New settings page for tool options * * Revision 1.5  2004/09/07 19:19:12  haraldkipp * Tested with EB40A on Win32 * * Revision 1.4  2004/08/18 13:34:20  haraldkipp * Now working on Linux * * Revision 1.3  2004/08/03 15:03:25  haraldkipp * Another change of everything * * Revision 1.2  2004/06/07 16:08:07  haraldkipp * Complete redesign based on eCos' configtool * */#include "settings.h"#include "nutconfdoc.h"#include "mainframe.h"#define VERSION "1.2.3"class NutConfApp:public wxApp {    friend class CMainFrame;  public:     virtual bool OnInit();    virtual int OnExit();    CNutConfDoc *GetNutConfDoc() const;    CMainFrame *GetMainFrame() const;    wxDocManager *GetDocManager() const;    wxDocManager *m_docManager;    CNutConfDoc *m_currentDoc;    CMainFrame *m_mainFrame;    void SetStatusText(const wxString & text);    bool Launch(const wxString & strFileName, const wxString & strViewer);    CSettings* GetSettings();    bool Build(const wxString &target = wxT("all"));  protected:    CSettings* m_settings;    wxString m_initialPath;};DECLARE_APP(NutConfApp);#endif

⌨️ 快捷键说明

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