Blame src/e-util/e-category-editor.h

Packit 15f964
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
Packit 15f964
/*
Packit 15f964
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
Packit 15f964
 *
Packit 15f964
 * This program is free software; you can redistribute it and/or modify it
Packit 15f964
 * under the terms of the GNU Lesser General Public License as published by
Packit 15f964
 * the Free Software Foundation.
Packit 15f964
 *
Packit 15f964
 * This program is distributed in the hope that it will be useful, but
Packit 15f964
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
Packit 15f964
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
Packit 15f964
 * for more details.
Packit 15f964
 *
Packit 15f964
 * You should have received a copy of the GNU Lesser General Public License
Packit 15f964
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
Packit 15f964
 */
Packit 15f964
Packit 15f964
#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
Packit 15f964
#error "Only <e-util/e-util.h> should be included directly."
Packit 15f964
#endif
Packit 15f964
Packit 15f964
#ifndef E_CATEGORY_EDITOR_H
Packit 15f964
#define E_CATEGORY_EDITOR_H
Packit 15f964
Packit 15f964
#include <gtk/gtk.h>
Packit 15f964
Packit 15f964
/* Standard GObject macros */
Packit 15f964
#define E_TYPE_CATEGORY_EDITOR \
Packit 15f964
	(e_category_editor_get_type ())
Packit 15f964
#define E_CATEGORY_EDITOR(obj) \
Packit 15f964
	(G_TYPE_CHECK_INSTANCE_CAST \
Packit 15f964
	((obj), E_TYPE_CATEGORY_EDITOR, ECategoryEditor))
Packit 15f964
#define E_CATEGORY_EDITOR_CLASS(cls) \
Packit 15f964
	(G_TYPE_CHECK_CLASS_CAST \
Packit 15f964
	((cls), E_TYPE_CATEGORY_EDITOR, ECategoryEditorClass))
Packit 15f964
#define E_IS_CATEGORY_EDITOR(obj) \
Packit 15f964
	(G_TYPE_CHECK_INSTANCE_TYPE \
Packit 15f964
	((obj), E_TYPE_CATEGORY_EDITOR))
Packit 15f964
#define E_IS_CATEGORY_EDITOR_CLASS(cls) \
Packit 15f964
	(G_TYPE_CHECK_CLASS_TYPE \
Packit 15f964
	((cls), E_TYPE_CATEGORY_EDITOR))
Packit 15f964
#define E_CATEGORY_EDITOR_GET_CLASS(obj) \
Packit 15f964
	(G_TYPE_INSTANCE_GET_CLASS \
Packit 15f964
	((obj), E_TYPE_CATEGORY_EDITOR, ECategoryEditorClass))
Packit 15f964
Packit 15f964
G_BEGIN_DECLS
Packit 15f964
Packit 15f964
typedef struct _ECategoryEditor ECategoryEditor;
Packit 15f964
typedef struct _ECategoryEditorClass ECategoryEditorClass;
Packit 15f964
typedef struct _ECategoryEditorPrivate ECategoryEditorPrivate;
Packit 15f964
Packit 15f964
/**
Packit 15f964
 * ECategoryEditor:
Packit 15f964
 *
Packit 15f964
 * Contains only private data that should be read and manipulated using the
Packit 15f964
 * functions below.
Packit 15f964
 *
Packit 15f964
 * Since: 3.2
Packit 15f964
 **/
Packit 15f964
struct _ECategoryEditor {
Packit 15f964
	GtkDialog parent;
Packit 15f964
	ECategoryEditorPrivate *priv;
Packit 15f964
};
Packit 15f964
Packit 15f964
struct _ECategoryEditorClass {
Packit 15f964
	GtkDialogClass parent_class;
Packit 15f964
};
Packit 15f964
Packit 15f964
GType		e_category_editor_get_type	(void) G_GNUC_CONST;
Packit 15f964
ECategoryEditor *
Packit 15f964
		e_category_editor_new		(void);
Packit 15f964
const gchar *	e_category_editor_create_category
Packit 15f964
						(ECategoryEditor *editor);
Packit 15f964
gboolean	e_category_editor_edit_category	(ECategoryEditor *editor,
Packit 15f964
						 const gchar *category);
Packit 15f964
Packit 15f964
G_END_DECLS
Packit 15f964
Packit 15f964
#endif /* E_CATEGORY_EDITOR_H */