Define documentation groups

This commit is contained in:
Dmitry Marakasov 2014-12-17 19:51:04 +03:00
parent 93ab413744
commit ff84056575
2 changed files with 65 additions and 9 deletions

View File

@ -22,18 +22,74 @@
#ifndef SDL2PP_SDL2PP_HH
#define SDL2PP_SDL2PP_HH
#include <SDL2pp/Exception.hh>
#include <SDL2pp/Config.hh>
////////////////////////////////////////////////////////////
/// \defgroup general
///
/// \brief SDL library initialization and shutdown functions
/// and error handling
///
////////////////////////////////////////////////////////////
#include <SDL2pp/SDL.hh>
#include <SDL2pp/Exception.hh>
////////////////////////////////////////////////////////////
/// \defgroup audio
///
/// \brief Audio device management and audio playback
///
////////////////////////////////////////////////////////////
#include <SDL2pp/Audio.hh>
#include <SDL2pp/Window.hh>
#include <SDL2pp/Renderer.hh>
#include <SDL2pp/Texture.hh>
#include <SDL2pp/Rect.hh>
#include <SDL2pp/Point.hh>
#include <SDL2pp/RWops.hh>
#include <SDL2pp/ExtraRWops.hh>
#include <SDL2pp/Wav.hh>
////////////////////////////////////////////////////////////
/// \defgroup graphics
///
/// \brief Graphics output
///
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
/// \defgroup windows
///
/// \brief Display and window management
///
/// \ingroup graphics
///
////////////////////////////////////////////////////////////
#include <SDL2pp/Window.hh>
////////////////////////////////////////////////////////////
/// \defgroup rendering
///
/// \brief 2D accelerated rendering
///
/// \ingroup graphics
///
////////////////////////////////////////////////////////////
#include <SDL2pp/Renderer.hh>
#include <SDL2pp/Texture.hh>
////////////////////////////////////////////////////////////
/// \defgroup rect
///
/// \brief Rectangle and point functions
///
/// \ingroup graphics
///
////////////////////////////////////////////////////////////
#include <SDL2pp/Rect.hh>
#include <SDL2pp/Point.hh>
////////////////////////////////////////////////////////////
/// \defgroup io I/O abstraction
///
/// \brief Functions that extend file-like operations onto arbitrary
/// objects such as memory, streams, STL containers etc.
///
////////////////////////////////////////////////////////////
#include <SDL2pp/RWops.hh>
#include <SDL2pp/ExtraRWops.hh>
#endif

View File

@ -125,7 +125,7 @@ public:
////////////////////////////////////////////////////////////
/// \class SDL2pp::Wav
/// \ingroup Audio
/// \ingroup audio
///
/// SDL2pp::Wav is a wrapper around basic SDL2 audio fragment
/// handling functionality, basically SDL_LoadWAV and related