aboutsummaryrefslogtreecommitdiff
path: root/cast/standalone_receiver/sdl_glue.h
diff options
context:
space:
mode:
Diffstat (limited to 'cast/standalone_receiver/sdl_glue.h')
-rw-r--r--cast/standalone_receiver/sdl_glue.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/cast/standalone_receiver/sdl_glue.h b/cast/standalone_receiver/sdl_glue.h
index c4674211..59a3a020 100644
--- a/cast/standalone_receiver/sdl_glue.h
+++ b/cast/standalone_receiver/sdl_glue.h
@@ -18,11 +18,10 @@
#include "util/alarm.h"
namespace openscreen {
+
class TaskRunner;
-} // namespace openscreen
namespace cast {
-namespace streaming {
template <uint32_t subsystem>
class ScopedSDLSubSystem {
@@ -63,18 +62,18 @@ DEFINE_SDL_UNIQUE_PTR(Texture);
// event is received.
class SDLEventLoopProcessor {
public:
- SDLEventLoopProcessor(openscreen::TaskRunner* task_runner,
+ SDLEventLoopProcessor(TaskRunner* task_runner,
std::function<void()> quit_callback);
~SDLEventLoopProcessor();
private:
void ProcessPendingEvents();
- openscreen::Alarm alarm_;
+ Alarm alarm_;
std::function<void()> quit_callback_;
};
-} // namespace streaming
} // namespace cast
+} // namespace openscreen
#endif // CAST_STANDALONE_RECEIVER_SDL_GLUE_H_