First Commit
This commit is contained in:
22
ErrorHandler.h
Normal file
22
ErrorHandler.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef ERRORHANDLER_H
|
||||
#define ERRORHANDLER_H
|
||||
|
||||
#include <iostream>
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
|
||||
enum class ErrorType{
|
||||
DEFAULT = -1,
|
||||
SDL_ERROR
|
||||
};
|
||||
|
||||
class ErrorHandler
|
||||
{
|
||||
private:
|
||||
|
||||
|
||||
public:
|
||||
static bool send(ErrorType e, std::string message);
|
||||
};
|
||||
|
||||
#endif /* ERRORHANDLER_H */
|
||||
Reference in New Issue
Block a user