gschem
|
00001 /* gEDA - GPL Electronic Design Automation 00002 * gschem - gEDA Schematic Capture 00003 * Copyright (C) 1998-2010 Ales Hvezda 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Library General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Library General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00018 * MA 02111-1301 USA. 00019 */ 00020 00021 00022 00023 typedef enum { 00024 LOG_RESPONSE_CLOSE = 1 00025 } LogResponseType; 00026 00027 00028 #define TYPE_LOG (log_get_type()) 00029 #define LOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LOG, Log)) 00030 #define LOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LOG, LogClass)) 00031 #define IS_LOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LOG)) 00032 00033 00034 typedef struct _LogClass LogClass; 00035 typedef struct _Log Log; 00036 00037 00038 struct _LogClass { 00039 GschemDialogClass parent_class; 00040 }; 00041 00042 struct _Log { 00043 GschemDialog parent_instance; 00044 00045 GtkTextView *textview; 00046 00047 guint handler; 00048 00049 }; 00050 00051 00052 GType log_get_type (void); 00053