1 /* 2 * Copyright (C) 2011 Igalia S.L. 3 * 4 * Contact: Iago Toral Quiroga <itoral@igalia.com> 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public License 8 * as published by the Free Software Foundation; version 2.1 of 9 * the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 19 * 02110-1301 USA 20 * 21 */ 22 23 #ifndef _GRL_REGISTRY_PRIV_H_ 24 #define _GRL_REGISTRY_PRIV_H_ 25 26 #include <grl-registry.h> 27 28 void 29 grl_registry_restrict_plugins (GrlRegistry *registry, 30 gchar **plugins); 31 32 GrlKeyID grl_registry_register_metadata_key_system (GrlRegistry *registry, 33 GParamSpec *param_spec, 34 GrlKeyID key, 35 GrlKeyID bind_key, 36 GError **error); 37 38 void grl_registry_shutdown (GrlRegistry *registry); 39 40 GrlKeyID grl_registry_register_metadata_key_for_type (GrlRegistry *registry, 41 const gchar *key_name, 42 GType type, 43 GrlKeyID bind_key); 44 45 GrlKeyID grl_registry_register_or_lookup_metadata_key (GrlRegistry *registry, 46 const gchar *key_name, 47 const GValue *value, 48 GrlKeyID bind_key); 49 50 gboolean grl_registry_metadata_key_get_limits(GrlRegistry *registry, 51 GrlKeyID key, 52 GValue *min, 53 GValue *max); 54 55 gboolean grl_registry_metadata_key_clamp(GrlRegistry *registry, 56 GrlKeyID key, 57 GValue *min, 58 GValue *value, 59 GValue *max); 60 61 #endif /* _GRL_REGISTRY_PRIV_H_ */ 62