bolar_2 backup
This commit is contained in:
27
main/ports/remote_behavior_config.h
Normal file
27
main/ports/remote_behavior_config.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/playback_types.h"
|
||||
#include "core/remote_behavior.h"
|
||||
|
||||
namespace borla {
|
||||
|
||||
class IRemoteBehaviorConfig {
|
||||
public:
|
||||
virtual ~IRemoteBehaviorConfig() = default;
|
||||
|
||||
virtual ButtonAction ResolveButtonAction(
|
||||
uint8_t click_count) const = 0;
|
||||
virtual LocalPrompt ServerUnreachablePrompt() const = 0;
|
||||
virtual LocalPrompt NoNetworkPrompt() const = 0;
|
||||
|
||||
virtual bool UpdateButtonActions(
|
||||
ButtonAction triple_click,
|
||||
ButtonAction quadruple_click) = 0;
|
||||
virtual bool UpdateConnectionPrompts(
|
||||
bool has_server_unreachable,
|
||||
LocalPrompt server_unreachable,
|
||||
bool has_no_network,
|
||||
LocalPrompt no_network) = 0;
|
||||
};
|
||||
|
||||
} // namespace borla
|
||||
Reference in New Issue
Block a user