aboutsummaryrefslogtreecommitdiffstats
path: root/support/magicleap/Servo2D/code/inc/Servo2D.h
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-03-15 13:49:49 -0400
committerJosh Matthews <josh@joshmatthews.net>2019-05-01 18:57:40 -0400
commitdaabda7fe14cb79ddc1b06019bec77f953eb9cf8 (patch)
treee095b2c103485967b1f519a26f93e08d2c93126c /support/magicleap/Servo2D/code/inc/Servo2D.h
parent0a5aab6cc2d23b6b9bf5de142e7a8a5b84e32380 (diff)
downloadservo-daabda7fe14cb79ddc1b06019bec77f953eb9cf8.tar.gz
servo-daabda7fe14cb79ddc1b06019bec77f953eb9cf8.zip
Support launching Servo2d with a URI.
Diffstat (limited to 'support/magicleap/Servo2D/code/inc/Servo2D.h')
-rw-r--r--support/magicleap/Servo2D/code/inc/Servo2D.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/magicleap/Servo2D/code/inc/Servo2D.h b/support/magicleap/Servo2D/code/inc/Servo2D.h
index e127332b52d..61f1ee333e3 100644
--- a/support/magicleap/Servo2D/code/inc/Servo2D.h
+++ b/support/magicleap/Servo2D/code/inc/Servo2D.h
@@ -29,7 +29,7 @@ public:
/**
* Constructs the Landscape Application.
*/
- Servo2D();
+ Servo2D(const char* uri);
/**
* Destroys the Landscape Application.
@@ -144,4 +144,5 @@ private:
glm::quat controller_orientation_; // The last recorded orientation of the controller (in world coords)
bool controller_trigger_down_ = false; // Is the controller trigger currently down?
ServoInstance* servo_ = nullptr; // the servo instance we're embedding
+ const char* uri_ = nullptr;
};