libragephoto Version: 0.6.0
Loading...
Searching...
No Matches
RagePhoto.hpp
1/*****************************************************************************
2* libragephoto RAGE Photo Parser
3* Copyright (C) 2023-2024 Syping
4*
5* Redistribution and use in source and binary forms, with or without modification,
6* are permitted provided that the following conditions are met:
7*
8* 1. Redistributions of source code must retain the above copyright notice,
9* this list of conditions and the following disclaimer.
10*
11* 2. Redistributions in binary form must reproduce the above copyright notice,
12* this list of conditions and the following disclaimer in the documentation
13* and/or other materials provided with the distribution.
14*
15* This software is provided as-is, no warranties are given to you, we are not
16* responsible for anything with use of the software, you are self responsible.
17*****************************************************************************/
18
19#ifndef RAGEPHOTO_HPP
20#define RAGEPHOTO_HPP
21
22#ifdef __cplusplus
23#include "RagePhotoLibrary.h"
24#ifdef LIBRAGEPHOTO_CXX_ONLY
25#include "ragephoto_cxx.hpp"
27#elif defined LIBRAGEPHOTO_CXX_C
28#ifdef LIBRAGEPHOTO_STATIC
29#include "ragephoto_cxx.hpp"
31#else
32#ifdef LIBRAGEPHOTO_PREFER_NATIVE
33#include "ragephoto_cxx.hpp"
35#else
36#include "ragephoto_c.hpp"
38#endif // LIBRAGEPHOTO_PREFER_NATIVE
39#endif // LIBRAGEPHOTO_STATIC
40#elif defined LIBRAGEPHOTO_C_ONLY
41#include "ragephoto_c.hpp"
43#else
44#error "Could not determine best RagePhoto implementation, libragephoto installation might be corrupt!"
45#endif // LIBRAGEPHOTO_CXX_ONLY
46#endif // __cplusplus
47
48#endif // RAGEPHOTO_HPP
GTA V and RDR 2 Photo Parser.
GTA V and RDR 2 Photo Parser (C API wrapper).