mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-25 09:51:10 -04:00
Send CaptureThread error into app-local message queue.
This commit is contained in:
parent
76c5fe96af
commit
cfaa44b02a
5 changed files with 42 additions and 17 deletions
|
@ -64,6 +64,7 @@ public:
|
|||
SpectrumStreamingConfig = 15,
|
||||
DisplaySleep = 16,
|
||||
CaptureConfig = 17,
|
||||
CaptureThreadError = 18,
|
||||
MAX
|
||||
};
|
||||
|
||||
|
@ -494,4 +495,16 @@ public:
|
|||
CaptureConfig* const config;
|
||||
};
|
||||
|
||||
class CaptureThreadErrorMessage : public Message {
|
||||
public:
|
||||
constexpr CaptureThreadErrorMessage(
|
||||
uint32_t error
|
||||
) : Message { ID::CaptureThreadError },
|
||||
error { error }
|
||||
{
|
||||
}
|
||||
|
||||
uint32_t error;
|
||||
};
|
||||
|
||||
#endif/*__MESSAGE_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue