mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
24 lines
334 B
C++
24 lines
334 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);
|
|
|
|
virtual String get_executable_path();
|
|
|
|
static Platform *get_singleton();
|
|
|
|
Platform();
|
|
virtual ~Platform();
|
|
|
|
ArgParser arg_parser;
|
|
|
|
protected:
|
|
static Platform *_self;
|
|
};
|
|
|
|
#endif
|