mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01: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"
|
||||
#endif
|
||||
|
||||
void PlatformInitializer::arg_setup(int argc, char **argv, char **envp) {
|
||||
if (_platform) {
|
||||
_platform->arg_setup(argc, argv, envp);
|
||||
}
|
||||
}
|
||||
|
||||
void PlatformInitializer::allocate_platform() {
|
||||
ERR_FAIL_COND(_platform);
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
|
||||
class PlatformInitializer {
|
||||
public:
|
||||
static void arg_setup(int argc, char **argv, char **envp);
|
||||
|
||||
static void allocate_platform();
|
||||
static void free_platform();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user