README: add deprecation notice
[nautilus-actions.git] / src / io-gconf / fma-gconf-writer.h
blobd70043195a7982db25b4af09085754a184e4b738
1 /*
2 * FileManager-Actions
3 * A file-manager extension which offers configurable context menu actions.
5 * Copyright (C) 2005 The GNOME Foundation
6 * Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
7 * Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
9 * FileManager-Actions is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * FileManager-Actions is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with FileManager-Actions; see the file COPYING. If not, see
21 * <http://www.gnu.org/licenses/>.
23 * Authors:
24 * Frederic Ruaudel <grumz@grumz.net>
25 * Rodrigo Moya <rodrigo@gnome-db.org>
26 * Pierre Wieser <pwieser@trychlos.org>
27 * ... and many others (see AUTHORS)
30 #ifndef __IO_GCONF_FMA_GCONF_WRITER_H__
31 #define __IO_GCONF_FMA_GCONF_WRITER_H__
33 #include <api/fma-data-boxed.h>
34 #include <api/fma-iio-provider.h>
35 #include <api/fma-ifactory-provider.h>
37 G_BEGIN_DECLS
39 /* FMAIIOProvider interface
41 gboolean fma_gconf_writer_iio_provider_is_willing_to_write( const FMAIIOProvider *provider );
43 gboolean fma_gconf_writer_iio_provider_is_able_to_write ( const FMAIIOProvider *provider );
45 /* Writing into GConf is deprecated since 3.1.0
47 #ifdef FMA_ENABLE_DEPRECATED
48 guint fma_gconf_writer_iio_provider_write_item ( const FMAIIOProvider *provider,
49 const FMAObjectItem *item,
50 GSList **message );
52 guint fma_gconf_writer_iio_provider_delete_item ( const FMAIIOProvider *provider,
53 const FMAObjectItem *item,
54 GSList **message );
56 /* FMAIFactoryProvider interface
58 guint fma_gconf_writer_write_start ( const FMAIFactoryProvider *writer,
59 void *writer_data,
60 const FMAIFactoryObject *object,
61 GSList **messages );
63 guint fma_gconf_writer_write_data ( const FMAIFactoryProvider *provider,
64 void *writer_data,
65 const FMAIFactoryObject *object,
66 const FMADataBoxed *boxed,
67 GSList **messages );
69 guint fma_gconf_writer_write_done ( const FMAIFactoryProvider *writer,
70 void *writer_data,
71 const FMAIFactoryObject *object,
72 GSList **messages );
73 #endif /* FMA_ENABLE_DEPRECATED */
75 G_END_DECLS
77 #endif /* __IO_GCONF_FMA_GCONF_WRITER_H__ */