aboutsummaryrefslogtreecommitdiffstats
path: root/filter/score-editor.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-06 04:47:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-06 04:47:24 +0800
commit96669b4af8ecc871dbfd405271293f29f38a05f3 (patch)
treebfe7084583e6d965a5ebd65c8199e24ad7ba1390 /filter/score-editor.h
parent12db8c46874e98b39ad026972527e422e4c228eb (diff)
downloadgsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.gz
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.bz2
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.lz
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.xz
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.zst
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.zip
Ported.
2002-11-05 Jeffrey Stedfast <fejj@ximian.com> * score-rule.c: Ported. * score-editor.c: Ported. Again, thise code seems to be unused. * score-context.c: Ported. Although it seems this code isn't really used anywhere? svn path=/trunk/; revision=18562
Diffstat (limited to 'filter/score-editor.h')
-rw-r--r--filter/score-editor.h35
1 files changed, 20 insertions, 15 deletions
diff --git a/filter/score-editor.h b/filter/score-editor.h
index 5c25dd9ecc..d0de0434da 100644
--- a/filter/score-editor.h
+++ b/filter/score-editor.h
@@ -1,7 +1,9 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
- * Copyright (C) 2000 Ximian Inc.
+ * Copyright (C) 2000-2002 Ximian Inc.
*
* Authors: Not Zed <notzed@lostzed.mmc.com.au>
+ * Jeffrey Stedfast <fejj@ximian.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -18,36 +20,39 @@
* Boston, MA 02111-1307, USA.
*/
+
#ifndef _SCORE_EDITOR_H
#define _SCORE_EDITOR_H
#include "rule-editor.h"
+#include "score-context.h"
-#define SCORE_EDITOR(obj) GTK_CHECK_CAST (obj, score_editor_get_type (), ScoreEditor)
-#define SCORE_EDITOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, score_editor_get_type (), ScoreEditorClass)
-#define IS_SCORE_EDITOR(obj) GTK_CHECK_TYPE (obj, score_editor_get_type ())
+#define SCORE_TYPE_EDITOR (score_editor_get_type ())
+#define SCORE_EDITOR(obj) (GTK_CHECK_CAST ((obj), SCORE_TYPE_EDITOR, ScoreEditor))
+#define SCORE_EDITOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), SCORE_TYPE_EDITOR, ScoreEditorClass))
+#define IS_SCORE_EDITOR(obj) (GTK_CHECK_TYPE ((obj), SCORE_TYPE_EDITOR))
+#define IS_SCORE_EDITOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), SCORE_TYPE_EDITOR))
+#define SCORE_EDITOR_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), SCORE_TYPE_EDITOR, ScoreEditorClass))
-typedef struct _ScoreEditor ScoreEditor;
-typedef struct _ScoreEditorClass ScoreEditorClass;
+typedef struct _ScoreEditor ScoreEditor;
+typedef struct _ScoreEditorClass ScoreEditorClass;
struct _ScoreEditor {
- RuleEditor parent;
-
- struct _ScoreEditorPrivate *priv;
+ RuleEditor parent_object;
+
};
struct _ScoreEditorClass {
RuleEditorClass parent_class;
-
+
/* virtual methods */
-
+
/* signals */
};
-struct _ScoreContext;
-guint score_editor_get_type (void);
-ScoreEditor *score_editor_new (struct _ScoreContext *f);
+GType score_editor_get_type (void);
-#endif /* ! _SCORE_EDITOR_H */
+ScoreEditor *score_editor_new (ScoreContext *sc);
+#endif /* ! _SCORE_EDITOR_H */