[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Antiright-devel] antiright/gtkshell gtkshell.h gsh.h
From: |
Jeffrey Bedard |
Subject: |
[Antiright-devel] antiright/gtkshell gtkshell.h gsh.h |
Date: |
Thu, 25 Oct 2007 01:02:42 +0000 |
CVSROOT: /sources/antiright
Module name: antiright
Changes by: Jeffrey Bedard <jefbed> 07/10/25 01:02:42
Modified files:
gtkshell : gtkshell.h
Added files:
gtkshell : gsh.h
Log message:
Split out GSH structure from gtkshell.h
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/gtkshell.h?cvsroot=antiright&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/gsh.h?cvsroot=antiright&rev=1.1
Patches:
Index: gtkshell.h
===================================================================
RCS file: /sources/antiright/antiright/gtkshell/gtkshell.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- gtkshell.h 25 Jul 2007 04:42:39 -0000 1.56
+++ gtkshell.h 25 Oct 2007 01:02:42 -0000 1.57
@@ -48,67 +48,7 @@
#include "updated.h"
#include "update_manager_struct.h"
-
-struct GSH
-{
- /* member data */
- /address@hidden@*/ gchar *geometry;
- Bitmask bflags;
- GtkIconSize icon_size;
-
- /* member data categories */
- struct /* widgets */
- {
- GtkWidget * window;
- GtkWidget * scrolled_window;
- GtkWidget * button;
- GtkWidget * last_managed;
- struct /* app mode */
- {
- struct /* menus */
- {
- GtkWidget * file;
- GtkWidget * edit;
- GtkWidget * tools;
- GtkWidget * view;
- GtkWidget * help;
- } menus;
- GtkWidget * menubar;
- GtkWidget * toolbar;
- GtkWidget * status;
- GtkWidget * frame;
- GtkWidget * row;
- } app;
- } widgets;
- struct /* text editor */
- {
- gchar * filename;
- GtkWidget * widget;
- } editor;
-
- /* member classes */
- struct GSHRows * rows;
- struct GSHUpdateManager * update;
- struct GSH_Terminal * terminal;
-
- /* methods */
- void (*delete)(struct GSH *);
- void (*parse)(struct GSH *, const gint, const gchar **);
- void (*init)(struct GSH *);
- void (*finalize)(struct GSH *);
- void (*manage)(struct GSH *, GtkWidget *);
-
- /* method categories */
- struct
- {
- GtkWidget * (*window)(struct GSH *);
- GtkWidget * (*button)(struct GSH *, const gchar *);
- GtkWidget * (*label)(struct GSH *, const gchar *);
- } add;
-
-};
-
-typedef struct GSH GSH;
+#include "gsh.h"
#include "module_includes.h"
Index: gsh.h
===================================================================
RCS file: gsh.h
diff -N gsh.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gsh.h 25 Oct 2007 01:02:41 -0000 1.1
@@ -0,0 +1,87 @@
+/*
+ AntiRight
+ (c) 2002-2007 Jeffrey Bedard
+ address@hidden
+
+ This file is part of AntiRight.
+
+ AntiRight 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.
+
+ AntiRight 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 AntiRight; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
+*/
+#ifndef GSH_GSH_H
+#define GSH_GSH_H
+
+struct GSH
+{
+ /* member data */
+ /address@hidden@*/ gchar *geometry;
+ Bitmask bflags;
+ GtkIconSize icon_size;
+
+ /* member data categories */
+ struct /* widgets */
+ {
+ GtkWidget * window;
+ GtkWidget * scrolled_window;
+ GtkWidget * button;
+ GtkWidget * last_managed;
+ struct /* app mode */
+ {
+ struct /* menus */
+ {
+ GtkWidget * file;
+ GtkWidget * edit;
+ GtkWidget * tools;
+ GtkWidget * view;
+ GtkWidget * help;
+ } menus;
+ GtkWidget * menubar;
+ GtkWidget * toolbar;
+ GtkWidget * status;
+ GtkWidget * frame;
+ GtkWidget * row;
+ } app;
+ } widgets;
+ struct /* text editor */
+ {
+ gchar * filename;
+ GtkWidget * widget;
+ } editor;
+
+ /* member classes */
+ struct GSHRows * rows;
+ struct GSHUpdateManager * update;
+ struct GSH_Terminal * terminal;
+
+ /* methods */
+ void (*delete)(struct GSH *);
+ void (*parse)(struct GSH *, const gint, const gchar **);
+ void (*init)(struct GSH *);
+ void (*finalize)(struct GSH *);
+ void (*manage)(struct GSH *, GtkWidget *);
+
+ /* method categories */
+ struct
+ {
+ GtkWidget * (*window)(struct GSH *);
+ GtkWidget * (*button)(struct GSH *, const gchar *);
+ GtkWidget * (*label)(struct GSH *, const gchar *);
+ } add;
+
+};
+
+typedef struct GSH GSH;
+
+#endif /* GSH_GSH_H */
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Antiright-devel] antiright/gtkshell gtkshell.h gsh.h,
Jeffrey Bedard <=