gimpconfig-array.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* LIBGIMP - The GIMP Library
  2. * Copyright (C) 1995 Spencer Kimball and Peter Mattis
  3. *
  4. * gimpconfig-array.h
  5. * Copyright (C) 2001-2002 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_ARRAY_H__
  25. #define __GIMP_CONFIG_ARRAY_H__
  26. G_BEGIN_DECLS
  27. /* For information look into the C source or the html documentation */
  28. /* Functions to ser/des arrays. */
  29. /* FIXME: move gimp_config_serialize_value_array here.
  30. * FIXME: implement other arrays for which plugins can declare args e.g. int32 array.
  31. * FIXME: doesn't need to be introspected, these are internal
  32. */
  33. gboolean gimp_config_serialize_strv (const GValue *value,
  34. GString *str);
  35. GTokenType gimp_config_deserialize_strv (GValue *value,
  36. GScanner *scanner);
  37. G_END_DECLS
  38. #endif /* __GIMP_CONFIG_ARRAY_H__ */