diff options
Diffstat (limited to 'mail/message-tag-editor.h')
-rw-r--r-- | mail/message-tag-editor.h | 74 |
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__ */ |