19 #ifndef MIR_TEST_DOUBLES_MOCK_INPUT_DEVICE_HUB_H_ 20 #define MIR_TEST_DOUBLES_MOCK_INPUT_DEVICE_HUB_H_ 22 #include "mir/input/input_device_hub.h" 23 #include <gmock/gmock.h> 34 MOCK_METHOD1(add_observer,
void(std::shared_ptr<input::InputDeviceObserver>
const&));
35 MOCK_METHOD1(remove_observer,
void(std::weak_ptr<input::InputDeviceObserver>
const&));
36 MOCK_METHOD1(for_each_input_device,
void(std::function<
void(input::Device
const&)>
const&));
37 MOCK_METHOD1(for_each_mutable_input_device,
void(std::function<
void(input::Device&)>
const&));
AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: sw_splash.h:26