mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Allow passing args to UWP app from command line
This commit is contained in:
parent
0feb16fe8d
commit
7737610870
9 changed files with 34 additions and 23 deletions
|
@ -72,6 +72,8 @@ struct ServoControl : ServoControlT<ServoControl>, public servo::ServoDelegate {
|
|||
|
||||
void SetTransientMode(bool transient) { mTransient = transient; }
|
||||
|
||||
void SetArgs(hstring args) { mArgs = args; }
|
||||
|
||||
virtual void WakeUp();
|
||||
virtual void OnServoLoadStarted();
|
||||
virtual void OnServoLoadEnded();
|
||||
|
@ -139,6 +141,7 @@ private:
|
|||
CRITICAL_SECTION mGLLock;
|
||||
CONDITION_VARIABLE mGLCondVar;
|
||||
std::unique_ptr<Concurrency::task<void>> mLoopTask;
|
||||
hstring mArgs;
|
||||
};
|
||||
} // namespace winrt::ServoApp::implementation
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue