From 110298d271a0b60bcff92c406c4ca1309dccf963 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 5 Feb 2014 18:37:32 +0400 Subject: [PATCH] More completeness info --- Completeness-CategoryError.md | 7 +++++++ Completeness-CategoryInit.md | 10 ++++++++++ Completeness.md | 7 ++++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 Completeness-CategoryError.md create mode 100644 Completeness-CategoryInit.md diff --git a/Completeness-CategoryError.md b/Completeness-CategoryError.md new file mode 100644 index 0000000..62a61ac --- /dev/null +++ b/Completeness-CategoryError.md @@ -0,0 +1,7 @@ +# Error Handling + +| ☑ | Function | libSDLpp method(s) / Notes | +|:-:|--------------------------------|----------------------------| +| ☐ | SDL_ClearError | | +| ☑ | SDL_GetError | Exception::GetSDLError() | +| ☐ | SDL_SetError | | diff --git a/Completeness-CategoryInit.md b/Completeness-CategoryInit.md new file mode 100644 index 0000000..ee0a885 --- /dev/null +++ b/Completeness-CategoryInit.md @@ -0,0 +1,10 @@ +# Initialization and Shutdown + +| ☑ | Function | libSDLpp method(s) / Notes | +|:-:|--------------------------------|----------------------------| +| ☑ | SDL_Init | SDL::SDL() | +| ☐ | SDL_InitSubSystem | | +| ☑ | SDL_Quit | SDL::~SDL() | +| ☐ | SDL_QuitSubSystem | | +| ☐ | SDL_SetMainReady | | +| ☐ | SDL_WasInit | | diff --git a/Completeness.md b/Completeness.md index 9703b5d..d291f28 100644 --- a/Completeness.md +++ b/Completeness.md @@ -1,7 +1,12 @@ -This chapter contains information on availability of wrappers for each specific libSDL2 function. The structure copies SDL2 [wiki](http://wiki.libsdl.org/APIByCategory) +This chapter contains information on availability of wrappers for each specific libSDL2 function. The structure copies SDL2 [wiki](http://wiki.libsdl.org/APIByCategory). + +Note that it's always possible to use native SDL2 functions with SDL2pp, as all SDL2pp wrapper objects provide getters for native SDL objects. Some functions do not require wrapping at all (such as SDL_Delay(), which doesn't use any objects which require lifetime management and does not return any errors), some are not needed in c++11 as it has native constructs providing specific functionality (threads, for example). However some of these may still be wrapped for the sake of uniformity. ## Basics +- [[Initialization and Shutdown|Completeness/CategoryInit]] +- [[Error Handling|Completeness/CategoryError]] + ## Video - [[Display and Window Management|Completeness/CategoryVideo]]