diff options
author | Pixel <Pixel> | 2002-09-27 20:36:49 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-09-27 20:36:49 +0000 |
commit | 75d6916ec69878af6649dd41ccdc41b5df807230 (patch) | |
tree | dcad3360e3b190f129bc13e6af6e0f9fe8569755 /includes | |
parent | 28806bc90b9555e78944e80e78e90debfa632b4b (diff) |
Adding missing files
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Main.h | 24 | ||||
-rw-r--r-- | includes/cdabstract.h | 8 |
2 files changed, 32 insertions, 0 deletions
diff --git a/includes/Main.h b/includes/Main.h new file mode 100644 index 0000000..4a81b3e --- /dev/null +++ b/includes/Main.h @@ -0,0 +1,24 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#include "Exceptions.h" + +class Main : public Base { + public: + Main(); + virtual ~Main(); + virtual int startup() throw (GeneralException) = 0; + protected: + void set_args(int, char **, char **); + int argc; + char ** argv; + char ** enve; + bool setted; + + friend int main(int, char **, char **); +}; + +#define CODE_BEGINS class Appli : public Main { +#define CODE_ENDS } * Application = new Appli(); + +#endif diff --git a/includes/cdabstract.h b/includes/cdabstract.h new file mode 100644 index 0000000..66aa909 --- /dev/null +++ b/includes/cdabstract.h @@ -0,0 +1,8 @@ +#ifndef __CD_ABSTRACT_H__ +#define __CD_ABSTRACT_H__ + +#include "Handle.h" + +Handle * open_iso(const String &); + +#endif |