mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-08 14:58:11 -04:00
Add export statements all over the code
This commit is contained in:
parent
cc0a188d9f
commit
20bdc36577
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include <SDL2pp/Optional.hh>
|
#include <SDL2pp/Optional.hh>
|
||||||
#include <SDL2pp/Config.hh>
|
#include <SDL2pp/Config.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
@ -46,7 +47,7 @@ class AudioSpec;
|
|||||||
/// audio functionality.
|
/// audio functionality.
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class AudioDevice {
|
class SDL2PP_EXPORT AudioDevice {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief SDL2pp::AudioDevice lock
|
/// \brief SDL2pp::AudioDevice lock
|
||||||
@ -82,7 +83,7 @@ public:
|
|||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class LockHandle {
|
class SDL2PP_EXPORT LockHandle {
|
||||||
friend class AudioDevice;
|
friend class AudioDevice;
|
||||||
private:
|
private:
|
||||||
AudioDevice* device_; ///< SDL2pp::AudioDevice the lock belongs to
|
AudioDevice* device_; ///< SDL2pp::AudioDevice the lock belongs to
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
#include <SDL2/SDL_audio.h>
|
#include <SDL2/SDL_audio.h>
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
@ -41,7 +43,7 @@ namespace SDL2pp {
|
|||||||
/// \see http://wiki.libsdl.org/SDL_AudioSpec
|
/// \see http://wiki.libsdl.org/SDL_AudioSpec
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class AudioSpec : public SDL_AudioSpec {
|
class SDL2PP_EXPORT AudioSpec : public SDL_AudioSpec {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Create empty (invalid) audio format specification
|
/// \brief Create empty (invalid) audio format specification
|
||||||
|
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
#include <SDL2/SDL_mixer.h>
|
#include <SDL2/SDL_mixer.h>
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
class RWops;
|
class RWops;
|
||||||
@ -38,7 +40,7 @@ class RWops;
|
|||||||
/// \headerfile SDL2pp/Chunk.hh
|
/// \headerfile SDL2pp/Chunk.hh
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Chunk {
|
class SDL2PP_EXPORT Chunk {
|
||||||
private:
|
private:
|
||||||
Mix_Chunk* chunk_; ///< Managed Mix_Chunk object
|
Mix_Chunk* chunk_; ///< Managed Mix_Chunk object
|
||||||
|
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
@ -66,7 +68,7 @@ namespace SDL2pp {
|
|||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Exception : public std::runtime_error {
|
class SDL2PP_EXPORT Exception : public std::runtime_error {
|
||||||
private:
|
private:
|
||||||
std::string sdl_function_; ///< SDL function which caused an error
|
std::string sdl_function_; ///< SDL function which caused an error
|
||||||
std::string sdl_error_; ///< SDL error string
|
std::string sdl_error_; ///< SDL error string
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <SDL2pp/Optional.hh>
|
#include <SDL2pp/Optional.hh>
|
||||||
#include <SDL2pp/Point.hh>
|
#include <SDL2pp/Point.hh>
|
||||||
#include <SDL2pp/Surface.hh>
|
#include <SDL2pp/Surface.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
@ -44,7 +45,7 @@ class RWops;
|
|||||||
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC56
|
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC56
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Font {
|
class SDL2PP_EXPORT Font {
|
||||||
private:
|
private:
|
||||||
TTF_Font* font_; ///< Managed TTF_Font object
|
TTF_Font* font_; ///< Managed TTF_Font object
|
||||||
|
|
||||||
|
@ -26,9 +26,10 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include <SDL2/SDL_stdinc.h>
|
#include <SDL2/SDL_stdinc.h>
|
||||||
|
|
||||||
#include <SDL2/SDL_mixer.h>
|
#include <SDL2/SDL_mixer.h>
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
class Chunk;
|
class Chunk;
|
||||||
@ -46,7 +47,7 @@ class Music;
|
|||||||
/// SDL2pp:Chunk's.
|
/// SDL2pp:Chunk's.
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Mixer {
|
class SDL2PP_EXPORT Mixer {
|
||||||
public:
|
public:
|
||||||
typedef void (*ChannelFinishedHandler)(int); ///< Function type for channel finished callback
|
typedef void (*ChannelFinishedHandler)(int); ///< Function type for channel finished callback
|
||||||
typedef void (*MusicFinishedHandler)(); ///< Function type for music finished callback
|
typedef void (*MusicFinishedHandler)(); ///< Function type for music finished callback
|
||||||
|
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
#include <SDL2/SDL_mixer.h>
|
#include <SDL2/SDL_mixer.h>
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
@ -36,7 +38,7 @@ namespace SDL2pp {
|
|||||||
/// \headerfile SDL2pp/Music.hh
|
/// \headerfile SDL2pp/Music.hh
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Music {
|
class SDL2PP_EXPORT Music {
|
||||||
private:
|
private:
|
||||||
Mix_Music* music_; ///< Managed Mix_Music object
|
Mix_Music* music_; ///< Managed Mix_Music object
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
|
|
||||||
#include <SDL2/SDL_rect.h>
|
#include <SDL2/SDL_rect.h>
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
class Rect;
|
class Rect;
|
||||||
@ -46,7 +48,7 @@ class Rect;
|
|||||||
/// \see http://wiki.libsdl.org/SDL_Point
|
/// \see http://wiki.libsdl.org/SDL_Point
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Point : public SDL_Point {
|
class SDL2PP_EXPORT Point : public SDL_Point {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Default constructor
|
/// \brief Default constructor
|
||||||
@ -459,7 +461,7 @@ constexpr bool operator!=(const SDL2pp::Point& a, const SDL2pp::Point& b) {
|
|||||||
/// \returns True if a < b
|
/// \returns True if a < b
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
bool operator<(const SDL2pp::Point& a, const SDL2pp::Point& b);
|
SDL2PP_EXPORT bool operator<(const SDL2pp::Point& a, const SDL2pp::Point& b);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Stream output operator overload for SDL2pp::Point
|
/// \brief Stream output operator overload for SDL2pp::Point
|
||||||
@ -470,7 +472,7 @@ bool operator<(const SDL2pp::Point& a, const SDL2pp::Point& b);
|
|||||||
/// \returns stream
|
/// \returns stream
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
std::ostream& operator<<(std::ostream& stream, const SDL2pp::Point& point);
|
SDL2PP_EXPORT std::ostream& operator<<(std::ostream& stream, const SDL2pp::Point& point);
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <SDL2/SDL_rwops.h>
|
#include <SDL2/SDL_rwops.h>
|
||||||
#include <SDL2pp/Exception.hh>
|
#include <SDL2pp/Exception.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
@ -44,7 +45,7 @@ namespace SDL2pp {
|
|||||||
/// \see SDL2pp::ContainerRWops, SDL2pp::StreamRWops
|
/// \see SDL2pp::ContainerRWops, SDL2pp::StreamRWops
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class CustomRWops {
|
class SDL2PP_EXPORT CustomRWops {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Destructor
|
/// \brief Destructor
|
||||||
@ -142,7 +143,7 @@ public:
|
|||||||
/// make it possible to write pure C++ %RWops classes, in a safe way.
|
/// make it possible to write pure C++ %RWops classes, in a safe way.
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class RWops {
|
class SDL2PP_EXPORT RWops {
|
||||||
protected:
|
protected:
|
||||||
SDL_RWops* rwops_; ///< Managed SDL_RWops object
|
SDL_RWops* rwops_; ///< Managed SDL_RWops object
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
#include <SDL2pp/Optional.hh>
|
#include <SDL2pp/Optional.hh>
|
||||||
#include <SDL2pp/Point.hh>
|
#include <SDL2pp/Point.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
@ -46,7 +47,7 @@ namespace SDL2pp {
|
|||||||
/// \see http://wiki.libsdl.org/SDL_Rect
|
/// \see http://wiki.libsdl.org/SDL_Rect
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Rect : public SDL_Rect {
|
class SDL2PP_EXPORT Rect : public SDL_Rect {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Default constructor
|
/// \brief Default constructor
|
||||||
@ -620,7 +621,7 @@ constexpr bool operator!=(const SDL2pp::Rect& a, const SDL2pp::Rect& b) {
|
|||||||
/// \returns True if a < b
|
/// \returns True if a < b
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
bool operator<(const SDL2pp::Rect& a, const SDL2pp::Rect& b);
|
SDL2PP_EXPORT bool operator<(const SDL2pp::Rect& a, const SDL2pp::Rect& b);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Stream output operator overload for SDL2pp::Rect
|
/// \brief Stream output operator overload for SDL2pp::Rect
|
||||||
@ -631,7 +632,7 @@ bool operator<(const SDL2pp::Rect& a, const SDL2pp::Rect& b);
|
|||||||
/// \returns stream
|
/// \returns stream
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
std::ostream& operator<<(std::ostream& stream, const SDL2pp::Rect& rect);
|
SDL2PP_EXPORT std::ostream& operator<<(std::ostream& stream, const SDL2pp::Rect& rect);
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <SDL2pp/Optional.hh>
|
#include <SDL2pp/Optional.hh>
|
||||||
#include <SDL2pp/Point.hh>
|
#include <SDL2pp/Point.hh>
|
||||||
#include <SDL2pp/Rect.hh>
|
#include <SDL2pp/Rect.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
struct SDL_RendererInfo;
|
struct SDL_RendererInfo;
|
||||||
struct SDL_Renderer;
|
struct SDL_Renderer;
|
||||||
@ -47,7 +48,7 @@ class Point;
|
|||||||
/// \headerfile SDL2pp/Renderer.hh
|
/// \headerfile SDL2pp/Renderer.hh
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Renderer {
|
class SDL2PP_EXPORT Renderer {
|
||||||
private:
|
private:
|
||||||
SDL_Renderer* renderer_; ///< Managed SDL_Renderer object
|
SDL_Renderer* renderer_; ///< Managed SDL_Renderer object
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
#include <SDL2/SDL_stdinc.h>
|
#include <SDL2/SDL_stdinc.h>
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
@ -54,7 +56,7 @@ namespace SDL2pp {
|
|||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class SDL {
|
class SDL2PP_EXPORT SDL {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Initializes SDL2 library
|
/// \brief Initializes SDL2 library
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef SDL2PP_SDLIMAGE_HH
|
#ifndef SDL2PP_SDLIMAGE_HH
|
||||||
#define SDL2PP_SDLIMAGE_HH
|
#define SDL2PP_SDLIMAGE_HH
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
@ -53,7 +55,7 @@ namespace SDL2pp {
|
|||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class SDLImage {
|
class SDL2PP_EXPORT SDLImage {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Initializes SDL_image library
|
/// \brief Initializes SDL_image library
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef SDL2PP_SDLMIXER_HH
|
#ifndef SDL2PP_SDLMIXER_HH
|
||||||
#define SDL2PP_SDLMIXER_HH
|
#define SDL2PP_SDLMIXER_HH
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
@ -44,7 +46,7 @@ namespace SDL2pp {
|
|||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class SDLMixer {
|
class SDL2PP_EXPORT SDLMixer {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Initializes SDL_mixer library
|
/// \brief Initializes SDL_mixer library
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef SDL2PP_SDLTTF_HH
|
#ifndef SDL2PP_SDLTTF_HH
|
||||||
#define SDL2PP_SDLTTF_HH
|
#define SDL2PP_SDLTTF_HH
|
||||||
|
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
@ -51,7 +53,7 @@ namespace SDL2pp {
|
|||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class SDLTTF {
|
class SDL2PP_EXPORT SDLTTF {
|
||||||
public:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Initializes SDL_ttf library
|
/// \brief Initializes SDL_ttf library
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <SDL2pp/Optional.hh>
|
#include <SDL2pp/Optional.hh>
|
||||||
#include <SDL2pp/Rect.hh>
|
#include <SDL2pp/Rect.hh>
|
||||||
#include <SDL2pp/Point.hh>
|
#include <SDL2pp/Point.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
struct SDL_Surface;
|
struct SDL_Surface;
|
||||||
struct SDL_PixelFormat;
|
struct SDL_PixelFormat;
|
||||||
@ -48,7 +49,7 @@ class RWops;
|
|||||||
/// \see http://wiki.libsdl.org/SDL_Surface
|
/// \see http://wiki.libsdl.org/SDL_Surface
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Surface {
|
class SDL2PP_EXPORT Surface {
|
||||||
private:
|
private:
|
||||||
SDL_Surface* surface_; ///< Managed SDL_Surface object
|
SDL_Surface* surface_; ///< Managed SDL_Surface object
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include <SDL2pp/Optional.hh>
|
#include <SDL2pp/Optional.hh>
|
||||||
#include <SDL2pp/Rect.hh>
|
#include <SDL2pp/Rect.hh>
|
||||||
#include <SDL2pp/Config.hh>
|
#include <SDL2pp/Config.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
struct SDL_Texture;
|
struct SDL_Texture;
|
||||||
|
|
||||||
@ -48,7 +49,7 @@ class Surface;
|
|||||||
/// \headerfile SDL2pp/Texture.hh
|
/// \headerfile SDL2pp/Texture.hh
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Texture {
|
class SDL2PP_EXPORT Texture {
|
||||||
private:
|
private:
|
||||||
SDL_Texture* texture_; ///< Managed SDL_Texture object
|
SDL_Texture* texture_; ///< Managed SDL_Texture object
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include <SDL2pp/AudioSpec.hh>
|
#include <SDL2pp/AudioSpec.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
namespace SDL2pp {
|
namespace SDL2pp {
|
||||||
|
|
||||||
@ -48,7 +49,7 @@ class RWops;
|
|||||||
/// See audio_wav demo for an example.
|
/// See audio_wav demo for an example.
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Wav {
|
class SDL2PP_EXPORT Wav {
|
||||||
private:
|
private:
|
||||||
Uint8* audio_buffer_; ///< Raw audio data
|
Uint8* audio_buffer_; ///< Raw audio data
|
||||||
Uint32 audio_length_; ///< Raw audio data length in bytes
|
Uint32 audio_length_; ///< Raw audio data length in bytes
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <SDL2/SDL_video.h>
|
#include <SDL2/SDL_video.h>
|
||||||
|
|
||||||
#include <SDL2pp/Point.hh>
|
#include <SDL2pp/Point.hh>
|
||||||
|
#include <SDL2pp/Export.hh>
|
||||||
|
|
||||||
struct SDL_Window;
|
struct SDL_Window;
|
||||||
|
|
||||||
@ -62,7 +63,7 @@ class Surface;
|
|||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class Window {
|
class SDL2PP_EXPORT Window {
|
||||||
private:
|
private:
|
||||||
SDL_Window* window_; ///< Managed SDL2_Window object
|
SDL_Window* window_; ///< Managed SDL2_Window object
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user