libAlgAudio
v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
|
#include <SDLHandle.hpp>
Public Member Functions | |
SDLHandle () | |
~SDLHandle () | |
Static Public Member Functions | |
static int | GetReferenceCount () |
A wrapper class for RAII SDL init/cleanup. All objects that require access to SDL should aquire such handle. Most importantly, all top-level independend windows need to keep one. Also: modules which use SDL to e.g. get mouse position should also take one.
AlgAudio::SDLHandle::SDLHandle | ( | ) |
AlgAudio::SDLHandle::~SDLHandle | ( | ) |
|
inlinestatic |