mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 05:53:12 -07:00
Message Box on Session Quit
This commit is contained in:
parent
8e15f498c2
commit
f886995295
8 changed files with 87 additions and 14 deletions
|
@ -75,11 +75,13 @@ class StreamSession : public QObject
|
|||
|
||||
void PushAudioFrame(int16_t *buf, size_t samples_count);
|
||||
void PushVideoSample(uint8_t *buf, size_t buf_size);
|
||||
void Event(ChiakiEvent *event);
|
||||
|
||||
public:
|
||||
explicit StreamSession(const StreamSessionConnectInfo &connect_info, QObject *parent = nullptr);
|
||||
~StreamSession();
|
||||
|
||||
void Start();
|
||||
void Stop();
|
||||
|
||||
#if CHIAKI_GUI_ENABLE_QT_GAMEPAD
|
||||
|
@ -91,6 +93,7 @@ class StreamSession : public QObject
|
|||
|
||||
signals:
|
||||
void CurrentImageUpdated();
|
||||
void SessionQuit(ChiakiQuitReason reason);
|
||||
|
||||
private slots:
|
||||
#if CHIAKI_GUI_ENABLE_QT_GAMEPAD
|
||||
|
@ -99,4 +102,6 @@ class StreamSession : public QObject
|
|||
void SendFeedbackState();
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(ChiakiQuitReason)
|
||||
|
||||
#endif // CHIAKI_STREAMSESSION_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue