2021-11-13 04:41:01 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* libragephoto RAGE Photo Parser
|
2023-01-07 20:43:11 +01:00
|
|
|
* Copyright (C) 2021-2023 Syping
|
2021-11-13 04:41:01 +01:00
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without modification,
|
|
|
|
* are permitted provided that the following conditions are met:
|
|
|
|
*
|
|
|
|
* 1. Redistributions of source code must retain the above copyright notice,
|
|
|
|
* this list of conditions and the following disclaimer.
|
|
|
|
*
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
|
|
* and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* This software is provided as-is, no warranties are given to you, we are not
|
|
|
|
* responsible for anything with use of the software, you are self responsible.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef RAGEPHOTOC_H
|
|
|
|
#define RAGEPHOTOC_H
|
|
|
|
|
2023-02-07 03:06:22 +01:00
|
|
|
#include "RagePhotoLibrary.h"
|
|
|
|
#include "RagePhotoTypedefs.h"
|
2023-02-11 20:53:41 +01:00
|
|
|
#include <stddef.h>
|
2021-11-13 04:41:01 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#ifdef LIBRAGEPHOTO_C_NOAPI
|
|
|
|
#error "libragephoto was built without C API"
|
|
|
|
#endif // LIBRAGEPHOTO_C_NOAPI
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif // __cplusplus
|
2023-04-02 21:33:48 +02:00
|
|
|
|
|
|
|
/** C API for RagePhoto.
|
|
|
|
* \file RagePhotoC.h
|
|
|
|
*/
|
2023-02-11 22:40:13 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** RagePhoto C++ class typedef for C API. */
|
|
|
|
typedef void* ragephoto_t;
|
|
|
|
|
|
|
|
/** Opens a \p ragephoto_t instance. */
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_t ragephoto_open();
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-20 11:27:14 +01:00
|
|
|
/** Add a custom defined RagePhotoFormatParser.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param rp_parser RagePhotoFormatParser parser to add
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_addparser(ragephoto_t instance, RagePhotoFormatParser *rp_parser);
|
2023-02-20 11:27:14 +01:00
|
|
|
|
2023-02-20 14:58:41 +01:00
|
|
|
/** Resets the RagePhotoData object to default values.
|
2021-11-13 04:41:01 +01:00
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_clear(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-20 14:58:41 +01:00
|
|
|
/** Resets the RagePhotoData object to default values.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephotodata_clear(RagePhotoData *rp_data);
|
2023-02-20 14:58:41 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Loads a Photo from a const char*.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param data Photo data
|
|
|
|
* \param size Photo data size
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_load(ragephoto_t instance, const char *data, size_t size);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-20 14:58:41 +01:00
|
|
|
/** Loads a Photo from a const char*.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
* \param rp_parser RagePhotoFormatParser parser array
|
|
|
|
* \param data Photo data
|
|
|
|
* \param size Photo data size
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephotodata_load(RagePhotoData *rp_data, RagePhotoFormatParser *rp_parser, const char *data, size_t size);
|
2023-02-20 14:58:41 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Loads a Photo from a file.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param filename File to load
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_loadfile(ragephoto_t instance, const char *filename);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the last error occurred.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC int32_t ragephoto_error(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the GTA V default Photo Buffer Size. */
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint32_t ragephoto_defpbuf_gta5();
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the RDR 2 default Photo Buffer Size. */
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint32_t ragephoto_defpbuf_rdr2();
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the GTA V Photo Format. */
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint32_t ragephoto_format_gta5();
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the RDR 2 Photo Format. */
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint32_t ragephoto_format_rdr2();
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-01-08 13:57:37 +01:00
|
|
|
/** Returns the internal RagePhotoData object.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC RagePhotoData* ragephoto_getphotodata(ragephoto_t instance);
|
2023-01-08 13:57:37 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Returns the Photo description.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC const char* ragephoto_getphotodesc(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the Photo Format (GTA V or RDR 2).
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint32_t ragephoto_getphotoformat(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the Photo JPEG data.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC const char* ragephoto_getphotojpeg(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the Photo JSON data.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC const char* ragephoto_getphotojson(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the Photo header.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC const char* ragephoto_getphotoheader(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-03-15 08:22:38 +01:00
|
|
|
/** Returns the Photo JPEG sign.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint64_t ragephoto_getphotosign(ragephoto_t instance);
|
2023-03-15 08:22:38 +01:00
|
|
|
|
|
|
|
/** Returns the Photo JPEG sign.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param photoFormat Photo Format (GTA V or RDR 2)
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint64_t ragephoto_getphotosignf(ragephoto_t instance, uint32_t photoFormat);
|
2023-03-15 08:22:38 +01:00
|
|
|
|
|
|
|
/** Returns the Photo JPEG sign.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint64_t ragephotodata_getphotosign(RagePhotoData *rp_data);
|
2023-03-15 08:22:38 +01:00
|
|
|
|
|
|
|
/** Returns the Photo JPEG sign.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
* \param photoFormat Photo Format (GTA V or RDR 2)
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint64_t ragephotodata_getphotosignf(RagePhotoData *rp_data, uint32_t photoFormat);
|
2023-03-15 08:22:38 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Returns the Photo JPEG data size.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC uint32_t ragephoto_getphotosize(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the Photo title.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC const char* ragephoto_getphototitle(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the Photo save file size.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC size_t ragephoto_getsavesize(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-20 14:58:41 +01:00
|
|
|
/** Returns the Photo save file size.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
* \param rp_parser RagePhotoFormatParser parser array
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC size_t ragephotodata_getsavesize(RagePhotoData *rp_data, RagePhotoFormatParser *rp_parser);
|
2023-02-20 14:58:41 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Returns the Photo save file size.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param photoFormat Photo Format (GTA V or RDR 2)
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC size_t ragephoto_getsavesizef(ragephoto_t instance, uint32_t photoFormat);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-20 14:58:41 +01:00
|
|
|
/** Returns the Photo save file size.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
* \param rp_parser RagePhotoFormatParser parser array
|
|
|
|
* \param photoFormat Photo Format (GTA V or RDR 2)
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC size_t ragephotodata_getsavesizef(RagePhotoData *rp_data, RagePhotoFormatParser *rp_parser, uint32_t photoFormat);
|
2023-02-20 14:58:41 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Saves a Photo to a char*.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param data Photo data
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_save(ragephoto_t instance, char *data);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-23 09:17:53 +01:00
|
|
|
/** Saves a Photo to a char*.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
* \param rp_parser RagePhotoFormatParser parser array
|
|
|
|
* \param data Photo data
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephotodata_save(RagePhotoData *rp_data, RagePhotoFormatParser *rp_parser, char *data);
|
2023-02-23 09:17:53 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Saves a Photo to a char*.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param data Photo data
|
|
|
|
* \param photoFormat Photo Format (GTA V or RDR 2)
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_savef(ragephoto_t instance, char *data, uint32_t photoFormat);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-23 09:17:53 +01:00
|
|
|
/** Saves a Photo to a char*.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
* \param rp_parser RagePhotoFormatParser parser array
|
|
|
|
* \param data Photo data
|
|
|
|
* \param photoFormat Photo Format (GTA V or RDR 2)
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephotodata_savef(RagePhotoData *rp_data, RagePhotoFormatParser *rp_parser, char *data, uint32_t photoFormat);
|
2023-02-23 09:17:53 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Saves a Photo to a file.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param filename File to save
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_savefile(ragephoto_t instance, const char *filename);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Saves a Photo to a file.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param filename File to save
|
|
|
|
* \param photoFormat Photo Format (GTA V or RDR 2)
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_savefilef(ragephoto_t instance, const char *filename, uint32_t photoFormat);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Sets all cross-format Buffer to default size.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_setbufferdefault(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-20 14:58:41 +01:00
|
|
|
/** Sets all cross-format Buffer to default size.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephotodata_setbufferdefault(RagePhotoData *rp_data);
|
2023-02-20 14:58:41 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Moves all Buffer offsets to correct position.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_setbufferoffsets(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
2023-02-20 14:58:41 +01:00
|
|
|
/** Moves all Buffer offsets to correct position.
|
|
|
|
* \param rp_data RagePhotoData object
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephotodata_setbufferoffsets(RagePhotoData *rp_data);
|
2023-02-20 14:58:41 +01:00
|
|
|
|
2023-01-08 17:45:54 +01:00
|
|
|
/** Sets the internal RagePhotoData object.
|
|
|
|
* \param instance \p ragephoto_t instance
|
2023-02-20 11:27:14 +01:00
|
|
|
* \param rp_data RagePhotoData object being set
|
2023-01-08 17:45:54 +01:00
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_setphotodata(ragephoto_t instance, RagePhotoData *rp_data);
|
2023-02-07 03:06:22 +01:00
|
|
|
|
|
|
|
/** Copies RagePhotoData object to internal RagePhotoData object.
|
|
|
|
* \param instance \p ragephoto_t instance
|
2023-02-20 11:27:14 +01:00
|
|
|
* \param rp_data RagePhotoData object being copied
|
2023-02-07 03:06:22 +01:00
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_setphotodatac(ragephoto_t instance, RagePhotoData *rp_data);
|
2023-01-08 17:45:54 +01:00
|
|
|
|
2021-11-13 04:41:01 +01:00
|
|
|
/** Sets the Photo description.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param description Description
|
|
|
|
* \param bufferSize Description buffer size
|
|
|
|
*
|
|
|
|
* Default bufferSize: 256UL
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_setphotodesc(ragephoto_t instance, const char *description, uint32_t bufferSize);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Sets the Photo Format (GTA V or RDR 2).
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param photoFormat Photo Format (GTA V or RDR 2)
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_setphotoformat(ragephoto_t instance, uint32_t photoFormat);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Sets the Photo JPEG data.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param data JPEG data
|
|
|
|
* \param size JPEG data size
|
|
|
|
* \param bufferSize JPEG buffer size
|
|
|
|
*
|
|
|
|
* Default bufferSize: ragephoto_defpbuf_gta5() or ragephoto_defpbuf_rdr2()
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC ragephoto_bool_t ragephoto_setphotojpeg(ragephoto_t instance, const char *data, uint32_t size, uint32_t bufferSize);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Sets the Photo JSON data.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param json JSON data
|
|
|
|
* \param bufferSize JSON data buffer size
|
|
|
|
*
|
|
|
|
* Default bufferSize: 3072UL
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_setphotojson(ragephoto_t instance, const char *json, uint32_t bufferSize);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Sets the Photo header. (EXPERT ONLY) */
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_setphotoheader(ragephoto_t instance, const char *header, uint32_t headerSum);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Sets the Photo title.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
* \param title Title
|
|
|
|
* \param bufferSize Title buffer size
|
|
|
|
*
|
|
|
|
* Default bufferSize: 256UL
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_setphototitle(ragephoto_t instance, const char *title, uint32_t bufferSize);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Closes a \p ragephoto_t instance.
|
|
|
|
* \param instance \p ragephoto_t instance
|
|
|
|
*/
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC void ragephoto_close(ragephoto_t instance);
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
/** Returns the library version. */
|
2023-04-09 21:22:13 +02:00
|
|
|
LIBRAGEPHOTO_C_PUBLIC const char* ragephoto_version();
|
2021-11-13 04:41:01 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif // __cplusplus
|
|
|
|
|
|
|
|
#endif // RAGEPHOTOC_H
|