aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-tag-editor.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-09 06:32:13 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-09 06:32:13 +0800
commit9fecb732dee690a2ddf43f9e7bf41ae6a7f91f52 (patch)
tree946d872c3456f6f8992556ab79a9a3010f5a1aa2 /mail/message-tag-editor.h
parenta61a6cab2068b39afd97c29ad544b8bc008b1453 (diff)
downloadgsoc2013-evolution-9fecb732dee690a2ddf43f9e7bf41ae6a7f91f52.tar
gsoc2013-evolution-9fecb732dee690a2ddf43f9e7bf41ae6a7f91f52.tar.gz
gsoc2013-evolution-9fecb732dee690a2ddf43f9e7bf41ae6a7f91f52.tar.bz2
gsoc2013-evolution-9fecb732dee690a2ddf43f9e7bf41ae6a7f91f52.tar.lz
gsoc2013-evolution-9fecb732dee690a2ddf43f9e7bf41ae6a7f91f52.tar.xz
gsoc2013-evolution-9fecb732dee690a2ddf43f9e7bf41ae6a7f91f52.tar.zst
gsoc2013-evolution-9fecb732dee690a2ddf43f9e7bf41ae6a7f91f52.zip
Base class for a message tag editor.
2002-02-08 Jeffrey Stedfast <fejj@ximian.com> * message-tag-editor.[c,h]: Base class for a message tag editor. * folder-browser.c (on_right_click): Setup the hide/enable masks for "Flag for Follow-up" * mail-callbacks.c (confirm_expunge): Instead of hiding deleted messages and then expunging, disable the use of the message-list completely during the expunge operation. (expunged_folder): Re-enable the use of the message-list widget here. svn path=/trunk/; revision=15626
Diffstat (limited to 'mail/message-tag-editor.h')
-rw-r--r--mail/message-tag-editor.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/mail/message-tag-editor.h b/mail/message-tag-editor.h
new file mode 100644
index 0000000000..25b845ba41
--- /dev/null
+++ b/mail/message-tag-editor.h
@@ -0,0 +1,74 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Authors: Jeffrey Stedfast <fejj@ximian.com>
+ *
+ * Copyright 2002 Ximain, Inc. (www.ximian.com)
+ *
+ * This program 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.
+ *
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
+ *
+ */
+
+
+#ifndef __MESSAGE_TAG_EDITOR_H__
+#define __MESSAGE_TAG_EDITOR_H__
+
+#include <gtk/gtkwidget.h>
+#include <libgnomeui/gnome-dialog.h>
+#include <camel/camel-folder.h>
+#include <camel/camel-folder-summary.h>
+#include <time.h>
+
+#ifdef __cplusplus
+extern "C" {
+#pragma }
+#endif /* __cplusplus */
+
+#define MESSAGE_TAG_EDITOR(obj) GTK_CHECK_CAST (obj, message_tag_editor_get_type (), MessageTagEditor)
+#define MESSAGE_TAG_EDITOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, message_tag_editor_get_type (), MessageTagEditorClass)
+#define IS_MESSAGE_TAG_EDITOR(obj) GTK_CHECK_TYPE (obj, message_tag_editor_get_type ())
+
+typedef struct _MessageTagEditor MessageTagEditor;
+typedef struct _MessageTagEditorClass MessageTagEditorClass;
+
+struct _MessageTagEditor {
+ GnomeDialog parent;
+
+};
+
+struct _MessageTagEditorClass {
+ GnomeDialogClass parent_class;
+
+ /* virtual methods */
+ const char * (*get_name) (MessageTagEditor *editor);
+
+ const char * (*get_value) (MessageTagEditor *editor);
+ void (*set_value) (MessageTagEditor *editor, const char *value);
+
+ /* signals */
+};
+
+
+GtkType message_tag_editor_get_type (void);
+
+/* methods */
+const char *message_tag_editor_get_name (MessageTagEditor *editor);
+const char *message_tag_editor_get_value (MessageTagEditor *editor);
+void message_tag_editor_set_value (MessageTagEditor *editor, const char *value);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __MESSAGE_TAG_EDITOR_H__ */