X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2Finit.hpp;h=42a4176af29ba02f03665ac0981f071222748e88;hb=c0a5ece0f6bacea1b85157a908d710070fb0affd;hp=9385d44979b815078f609e332cf9617b08607e3c;hpb=307482574d3acac09e38263de521a1826ceec7ce;p=blank.git diff --git a/src/app/init.hpp b/src/app/init.hpp index 9385d44..42a4176 100644 --- a/src/app/init.hpp +++ b/src/app/init.hpp @@ -1,42 +1,14 @@ #ifndef BLANK_APP_INIT_HPP_ #define BLANK_APP_INIT_HPP_ +#include "error.hpp" + #include #include -#include -#include namespace blank { -class AlutError -: public std::runtime_error { - -public: - explicit AlutError(ALenum); - AlutError(ALenum, const std::string &); - -}; - -class SDLError -: public std::runtime_error { - -public: - SDLError(); - explicit SDLError(const std::string &); - -}; - -class NetError -: public std::runtime_error { - -public: - NetError(); - explicit NetError(const std::string &); - -}; - - class InitSDL { public: