mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-13 11:16:10 +00:00
* Add quit cli command and app quit option after stream session. Fixes #92 * Code review fixes.
This commit is contained in:
committed by
Cameron Gutman
parent
ad47990a87
commit
0ab07303c9
@@ -275,6 +275,16 @@ int Session::getDecoderCapabilities(StreamingPreferences::VideoDecoderSelection
|
||||
return caps;
|
||||
}
|
||||
|
||||
NvComputer *Session::getComputer() const
|
||||
{
|
||||
return m_Computer;
|
||||
}
|
||||
|
||||
bool Session::shouldQuitAppAfter() const
|
||||
{
|
||||
return m_Preferences->quitAppAfter;
|
||||
}
|
||||
|
||||
Session::Session(NvComputer* computer, NvApp& app, StreamingPreferences *preferences)
|
||||
: m_Preferences(preferences ? preferences : new StreamingPreferences(this)),
|
||||
m_Computer(computer),
|
||||
|
||||
Reference in New Issue
Block a user