mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
22 lines
294 B
C
22 lines
294 B
C
|
#ifndef PLATFORM_H
|
||
|
#define PLATFORM_H
|
||
|
|
||
|
#include "arg_parser.h"
|
||
|
|
||
|
class Platform {
|
||
|
public:
|
||
|
virtual void arg_setup(int argc, char **argv, char **envp);
|
||
|
|
||
|
static Platform *get_singleton();
|
||
|
|
||
|
Platform();
|
||
|
virtual ~Platform();
|
||
|
|
||
|
ArgParser arg_parser;
|
||
|
|
||
|
protected:
|
||
|
static Platform *_self;
|
||
|
};
|
||
|
|
||
|
#endif
|