gphoto2-port-version.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /** \file gphoto2-port-version.h
  2. *
  3. * Copyright 2002 Hans Ulrich Niedermann <gp@n-dimensional.de>
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library; if not, write to the
  17. * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  18. * Boston, MA 02110-1301 USA
  19. */
  20. #ifndef __GPHOTO2_PORT_VERSION_H__
  21. #define __GPHOTO2_PORT_VERSION_H__
  22. typedef enum {
  23. GP_VERSION_SHORT = 0,
  24. GP_VERSION_VERBOSE = 1
  25. } GPVersionVerbosity;
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. typedef const char **(*GPVersionFunc)(GPVersionVerbosity verbose);
  30. const char **gp_port_library_version(GPVersionVerbosity verbose);
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34. #endif /* __GPHOTO2_PORT_VERSION_H__ */
  35. /*
  36. * Local Variables:
  37. * c-file-style:"linux"
  38. * indent-tabs-mode:t
  39. * End:
  40. */