ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
Classes | Namespaces | Macros
exception.h File Reference
#include "types.h"
#include <string>
#include <cerrno>
#include "SDL.h"
#include "SDL_opengl.h"

Go to the source code of this file.

Classes

class  Exception
 Handles all Exceptions. More...
 
class  ExcSDL
 
class  ExcGL
 

Namespaces

 sdltk
 the SDL based Stuff
 

Macros

#define SDLGUIERROR(error, details)   sdltk::Exception ((details), __FILE__, __LINE__)
 
#define SDLGUICERROR(eno, error, details)   sdltk::Exception (eno, (details), __FILE__, __LINE__)
 
#define EXCLF   __FILE__, __LINE__
 
#define EXCSDL(error)   sdltk::ExcSDL((error), SDL_GetError(), EXCLF);
 
#define EXCGL(error)   sdltk::ExcGL((error), oglGetError(), EXCLF);
 

Macro Definition Documentation

#define EXCGL (   error)    sdltk::ExcGL((error), oglGetError(), EXCLF);

Referenced by Image::calcTexSize().

#define EXCLF   __FILE__, __LINE__
#define EXCSDL (   error)    sdltk::ExcSDL((error), SDL_GetError(), EXCLF);
#define SDLGUICERROR (   eno,
  error,
  details 
)    sdltk::Exception (eno, (details), __FILE__, __LINE__)
#define SDLGUIERROR (   error,
  details 
)    sdltk::Exception ((details), __FILE__, __LINE__)