Application.h

Go to the documentation of this file.
00001 #ifndef __APPLICATION_H__
00002 #define __APPLICATION_H__
00003 
00004 /*
00005 
00006 $Id$
00007 
00008 */
00009 
00010 #include <signal.h>
00011 
00012 #include "String.h"
00013 
00014 class Application
00015 {
00016 
00017 public:
00018 
00019   static int init(const String &name, const String &version, int argc = 0, char **argv = NULL);
00020 
00021 private:
00022 
00023   virtual ~Application() = 0;
00024 
00025   static void version();
00026   static void help(const char *fileName);
00027   static int parseCommandLine(int argc, char **argv);
00028   static void initExceptionsHandling();
00029   static void exceptionHandler(int, siginfo_t *info, void *);
00030 
00031   static String _name;
00032   static String _version;
00033 };
00034 
00035 #endif

Generated on Thu Sep 6 20:11:25 2007 for Pylon Application Platform by  doxygen 1.5.1