mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Support passing in arguments from embedding. Read arguments for Magic Leap from SERVO_ARGS env var.
This commit is contained in:
parent
d0e9acf1eb
commit
a207574b4c
10 changed files with 46 additions and 18 deletions
|
@ -29,7 +29,7 @@ public:
|
|||
/**
|
||||
* Constructs the Landscape Application.
|
||||
*/
|
||||
Servo2D(const char* uri);
|
||||
Servo2D(const char* uri, const char* args);
|
||||
|
||||
/**
|
||||
* Destroys the Landscape Application.
|
||||
|
@ -145,4 +145,5 @@ private:
|
|||
bool controller_trigger_down_ = false; // Is the controller trigger currently down?
|
||||
ServoInstance* servo_ = nullptr; // the servo instance we're embedding
|
||||
const char* uri_ = nullptr;
|
||||
const char* args_ = nullptr;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue