rcpp_framework/core/os/platform.h

24 lines
334 B
C
Raw Normal View History

2021-11-09 17:47:51 +01:00
#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();
2021-11-09 17:47:51 +01:00
static Platform *get_singleton();
Platform();
virtual ~Platform();
ArgParser arg_parser;
protected:
static Platform *_self;
};
#endif