mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-10 21:52:08 +02:00
Added static arg_setup method to the platform initializer.
This commit is contained in:
parent
eb8c105f72
commit
77ad108b77
@ -7,6 +7,12 @@
|
|||||||
#include "linux/platform_linux.h"
|
#include "linux/platform_linux.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void PlatformInitializer::arg_setup(int argc, char **argv, char **envp) {
|
||||||
|
if (_platform) {
|
||||||
|
_platform->arg_setup(argc, argv, envp);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void PlatformInitializer::allocate_platform() {
|
void PlatformInitializer::allocate_platform() {
|
||||||
ERR_FAIL_COND(_platform);
|
ERR_FAIL_COND(_platform);
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
class PlatformInitializer {
|
class PlatformInitializer {
|
||||||
public:
|
public:
|
||||||
|
static void arg_setup(int argc, char **argv, char **envp);
|
||||||
|
|
||||||
static void allocate_platform();
|
static void allocate_platform();
|
||||||
static void free_platform();
|
static void free_platform();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user