gsch2pcb: Make --m4-file and -m4-pcbdir arguments work again.
[geda-gaf/peter-b.git] / gschem / include / x_preview.h
blobb2589b61001f931eb8fbcc033ad879505e9d9d3d
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.
21 #ifndef __X_PREVIEW_H__
22 #define __X_PREVIEW_H__
26 * Preview
29 #define TYPE_PREVIEW (preview_get_type())
30 #define PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREVIEW, Preview))
31 #define PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREVIEW, PreviewClass))
32 #define IS_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREVIEW))
35 typedef struct _PreviewClass PreviewClass;
36 typedef struct _Preview Preview;
39 struct _PreviewClass {
40 GtkDrawingAreaClass parent_class;
44 struct _Preview {
45 GtkDrawingArea parent_instance;
47 GSCHEM_TOPLEVEL *preview_w_current;
49 gchar *filename;
50 gchar *buffer;
52 gboolean active;
57 GType preview_get_type (void);
60 #endif /* __X_PREVIEW_H__ */