gnome-control-center/capplets/file-types/service-edit-dialog.h
Bradford Hovinen d8c7752324 Implement (find_possible_supported_apps): Implement
2002-01-26  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (intersect_lists, reduce_supported_app_list)
	(mime_category_info_find_apps): Implement
	(find_possible_supported_apps): Implement

	* mime-category-edit-dialog.c (mime_category_edit_dialog_init):
	Use mime_category_edit_widget for the dialog source

	* model-entry.c (model_entry_remove_from_dirty_list): Accept a
	ModelEntry structure

	* mime-category-edit-dialog.c (store_data): Call
	model_entry_append_to_dirty_list

	* service-edit-dialog.c (store_data): Call
	model_entry_append_to_dirty_list
2002-01-26 16:24:45 +00:00

61 lines
1.9 KiB
C

/* -*- mode: c; style: linux -*- */
/* service-edit-dialog.h
* Copyright (C) 2001 Ximian, Inc.
*
* Written by Bradford Hovinen <hovinen@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, 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 Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
#ifndef __SERVICE_EDIT_DIALOG_H
#define __SERVICE_EDIT_DIALOG_H
#include <gnome.h>
#include "service-info.h"
G_BEGIN_DECLS
#define SERVICE_EDIT_DIALOG(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, service_edit_dialog_get_type (), ServiceEditDialog)
#define SERVICE_EDIT_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, service_edit_dialog_get_type (), ServiceEditDialogClass)
#define IS_SERVICE_EDIT_DIALOG(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, service_edit_dialog_get_type ())
typedef struct _ServiceEditDialog ServiceEditDialog;
typedef struct _ServiceEditDialogClass ServiceEditDialogClass;
typedef struct _ServiceEditDialogPrivate ServiceEditDialogPrivate;
struct _ServiceEditDialog
{
GObject parent;
ServiceEditDialogPrivate *p;
};
struct _ServiceEditDialogClass
{
GObjectClass g_object_class;
};
GType service_edit_dialog_get_type (void);
GObject *service_edit_dialog_new (GtkTreeModel *model,
ServiceInfo *info);
GObject *service_add_dialog_new (GtkTreeModel *model);
G_END_DECLS
#endif /* __SERVICE_EDIT_DIALOG_H */