gimpconfig-utils.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* LIBGIMP - The GIMP Library
  2. * Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
  3. *
  4. * Utility functions for GimpConfig.
  5. * Copyright (C) 2001-2003 Sven Neumann <sven@gimp.org>
  6. *
  7. * This library is free software: you can redistribute it and/or
  8. * modify it under the terms of the GNU Lesser General Public
  9. * License as published by the Free Software Foundation; either
  10. * version 3 of the License, or (at your option) any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Library General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this library. If not, see
  19. * <https://www.gnu.org/licenses/>.
  20. */
  21. #if !defined (__GIMP_CONFIG_H_INSIDE__) && !defined (GIMP_CONFIG_COMPILATION)
  22. #error "Only <libgimpconfig/gimpconfig.h> can be included directly."
  23. #endif
  24. #ifndef __GIMP_CONFIG_UTILS_H__
  25. #define __GIMP_CONFIG_UTILS_H__
  26. G_BEGIN_DECLS
  27. /* For information look into the C source or the html documentation */
  28. GList * gimp_config_diff (GObject *a,
  29. GObject *b,
  30. GParamFlags flags);
  31. gboolean gimp_config_sync (GObject *src,
  32. GObject *dest,
  33. GParamFlags flags);
  34. void gimp_config_reset_properties (GObject *object);
  35. void gimp_config_reset_property (GObject *object,
  36. const gchar *property_name);
  37. void gimp_config_string_append_escaped (GString *string,
  38. const gchar *val);
  39. G_END_DECLS
  40. #endif /* __GIMP_CONFIG_UTILS_H__ */