Kallisto Linux API
Library for interacting with Kallisto devices
bluetooth_adapter_event_listener.hpp
Go to the documentation of this file.
1 
42 #ifndef BLUETOOTH_ADAPTER_EVENT_LISTENER_HPP
43 #define BLUETOOTH_ADAPTER_EVENT_LISTENER_HPP
44 
45 #include <chrono>
46 
47 namespace kallisto {
48 namespace bluetooth {
49 
53 class BluetoothAdapterEventListener {
54 protected:
59 
60 public:
65 
76  virtual void onBluetoothAdapterDisabled(std::chrono::nanoseconds timestamp) = 0;
77 
81  virtual void onBluetoothAdapterEnabled(std::chrono::nanoseconds timestamp) = 0;
82 
92  virtual void onBluetoothAdapterIrrecuperable(std::chrono::nanoseconds timestamp) = 0;
93 };
94 
95 } /* namespace bluetooth */
96 } /* namespace kallisto */
97 
98 #endif // BLUETOOTH_ADAPTER_EVENT_LISTENER_HPP
virtual void onBluetoothAdapterEnabled(std::chrono::nanoseconds timestamp)=0
Definition: bluetooth_adapter.hpp:52
virtual void onBluetoothAdapterDisabled(std::chrono::nanoseconds timestamp)=0
virtual void onBluetoothAdapterIrrecuperable(std::chrono::nanoseconds timestamp)=0