1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 /* 3 * xed-metadata-manager.h 4 * This file is part of xed 5 * 6 * Copyright (C) 2003 Paolo Maggi 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, 21 * Boston, MA 02110-1301, USA. 22 */ 23 24 /* 25 * Modified by the xed Team, 2003. See the AUTHORS file for a 26 * list of people on the xed Team. 27 * See the ChangeLog files for a list of changes. 28 */ 29 30 #ifndef __XED_METADATA_MANAGER_H__ 31 #define __XED_METADATA_MANAGER_H__ 32 33 #include <gio/gio.h> 34 35 G_BEGIN_DECLS 36 37 void xed_metadata_manager_init (const gchar *metadata_filename); 38 39 /* This function must be called before exiting xed */ 40 void xed_metadata_manager_shutdown (void); 41 42 gchar *xed_metadata_manager_get (GFile *location, 43 const gchar *key); 44 45 void xed_metadata_manager_set (GFile *location, 46 const gchar *key, 47 const gchar *value); 48 49 G_END_DECLS 50 51 #endif /* __XED_METADATA_MANAGER_H__ */ 52