OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [standalone/] [wxwin/] [mainwin.cpp] - Rev 569

Go to most recent revision | Compare with Previous | Blame | View Log

//####COPYRIGHTBEGIN####
//
// ----------------------------------------------------------------------------
// Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
// Copyright (C) 2003 John Dallaway
//
// This program is part of the eCos host tools.
//
// 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.
//
// ----------------------------------------------------------------------------
//
//####COPYRIGHTEND####
// mainwin.cpp :
//
//===========================================================================
//#####DESCRIPTIONBEGIN####
//
// Author(s):   julians, jld
// Contact(s):  julians, jld
// Date:        2000/08/24
// Version:     $Id: mainwin.cpp,v 1.1.1.1 2004-02-14 13:28:51 phoenix Exp $
// Purpose:
// Description: Implementation file for the ConfigTool main window
// Requires:
// Provides:
// See also:
// Known bugs:
// Usage:
//
//####DESCRIPTIONEND####
//
//===========================================================================
 
// ============================================================================
// declarations
// ============================================================================
 
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#pragma implementation "mainwin.h"
#endif
 
// Includes other headers for precompiled compilation
#include "ecpch.h"
 
#ifdef __BORLANDC__
#pragma hdrstop
#endif
 
#include "wx/cshelp.h"
#include "wx/wxhtml.h"
#include "wx/filedlg.h"
#include "wx/wfstream.h"
 
#include "mainwin.h"
#include "configtool.h"
#include "configtree.h"
#include "propertywin.h"
#include "conflictwin.h"
#include "mltwin.h"
#include "outputwin.h"
#include "shortdescrwin.h"
#include "conflictsdlg.h"
#include "aboutdlg.h"
#include "finddlg.h"
#include "settingsdlg.h"
#include "platformsdlg.h"
#include "buildoptionsdlg.h"
#include "templatesdlg.h"
#include "admindlg.h"
#include "packagesdlg.h"
#include "configtooldoc.h"
#include "configtoolview.h"
#include "folderdlg.h"
#include "reposdlg.h"
#include "docsystem.h"
#include "symbols.h"
 
#ifdef __WXMSW__
#include "wx/msw/winundef.h"
#endif
 
// ----------------------------------------------------------------------------
// resources
// ----------------------------------------------------------------------------
// the application icon
#if defined(__WXGTK__) || defined(__WXMOTIF__)
#include "bitmaps/configtool.xpm"
#include "bitmaps/new.xpm"
#include "bitmaps/open.xpm"
#include "bitmaps/save.xpm"
#include "bitmaps/copy.xpm"
#include "bitmaps/paste.xpm"
#include "bitmaps/cut.xpm"
#include "bitmaps/delete.xpm"
#include "bitmaps/help.xpm"
#include "bitmaps/cshelp.xpm"
#include "bitmaps/search.xpm"
#include "bitmaps/stopbuild.xpm"
#include "bitmaps/buildlibrary.xpm"
#include "bitmaps/newregion.xpm"
#include "bitmaps/newsection.xpm"
#include "bitmaps/properties.xpm"
#endif
 
// ----------------------------------------------------------------------------
// event tables and other macros for wxWindows
// ----------------------------------------------------------------------------
 
BEGIN_EVENT_TABLE(ecMainFrame, wxDocParentFrame)
    EVT_MENU(wxID_EXIT,  ecMainFrame::OnQuit)
    EVT_MENU(wxID_ABOUT, ecMainFrame::OnAbout)
    EVT_MENU(ecID_REPOSITORY_INFO, ecMainFrame::OnRepositoryInfo)
    EVT_MENU(wxID_FIND, ecMainFrame::OnFind)
    EVT_MENU(ecID_FIND_NEXT, ecMainFrame::OnFindN

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.