#pragma once #include #include // manages sdl camera sources class SDLVideoInputService { ObjectStore2& _os; bool _subsystem_init{false}; bool addDevice(SDL_CameraID device); bool removeDevice(SDL_CameraID device); public: SDLVideoInputService(ObjectStore2& os); ~SDLVideoInputService(void); bool handleEvent(SDL_Event& e); };