Updated copyright text/header in most source files.
[geda-gaf/peter-b.git] / gschem / include / x_log.h
blobd3e9d9fda39979ab5bbbc0ef86b0d5a64cab5765
1 /* gEDA - GPL Electronic Design Automation
2 * gschem - gEDA Schematic Capture
3 * Copyright (C) 1998-2010 Ales Hvezda
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 typedef enum {
23 LOG_RESPONSE_CLOSE = 1
24 } LogResponseType;
27 #define TYPE_LOG (log_get_type())
28 #define LOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LOG, Log))
29 #define LOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LOG, LogClass))
30 #define IS_LOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LOG))
33 typedef struct _LogClass LogClass;
34 typedef struct _Log Log;
37 struct _LogClass {
38 GschemDialogClass parent_class;
41 struct _Log {
42 GschemDialog parent_instance;
44 GtkTextView *textview;
46 guint handler;
51 GType log_get_type (void);