00001 /*************************************************************************** 00002 * Copyright (C) 2004-2005 by Andrew Krause * 00003 * * 00004 * This program is free software; you can redistribute it and/or modify * 00005 * it under the terms of the GNU General Public License as published by * 00006 * the Free Software Foundation; either version 2 of the License, or * 00007 * (at your option) any later version. * 00008 * * 00009 * This program is distributed in the hope that it will be useful, * 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00012 * GNU General Public License for more details. * 00013 * * 00014 * You should have received a copy of the GNU General Public License * 00015 * along with this program; if not, write to the * 00016 * Free Software Foundation, Inc., * 00017 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00018 ***************************************************************************/ 00019 00020 #ifndef OUTPUT_MANAGER_H 00021 #define OUTPUT_MANAGER_H 00022 00023 #include <gtk/gtk.h> 00024 00025 #include "openldev-output-build.h" 00026 #include "openldev-output-search.h" 00027 #include "openldev-output-terminal.h" 00028 00029 typedef struct _OutputManager OutputManager; 00030 00031 struct _OutputManager 00032 { 00033 OutputSearch *search; 00034 OutputBuild *build; 00035 OutputTerminal *terminal; 00036 00037 GtkWidget *notebook; 00038 GtkWidget *compiler; 00039 GtkWidget *findtab; 00040 GtkWidget *terminaltab; 00041 GtkWidget *compiler_label; 00042 GtkWidget *findtab_label; 00043 GtkWidget *terminaltab_label; 00044 GtkWidget *compiler_image; 00045 GtkWidget *findtab_image; 00046 GtkWidget *terminaltab_image; 00047 }; 00048 00049 OutputManager* openldev_output_manager_new (); 00050 00051 OutputBuild* openldev_output_manager_get_build (OutputManager*); 00052 OutputSearch* openldev_output_manager_get_search (OutputManager*); 00053 OutputTerminal* openldev_output_manager_get_terminal (OutputManager*); 00054 00055 #endif