ContextAware.cpp 466 B

1234567891011
  1. #include "ContextAware.h"
  2. namespace WallpaperEngine::Render::Helpers {
  3. ContextAware::ContextAware (const ContextAware& from) : ContextAware (from.getContext ()) { }
  4. ContextAware::ContextAware (const ContextAware* from) : ContextAware (from->getContext ()) { }
  5. ContextAware::ContextAware (RenderContext& context) : m_context (context) { }
  6. RenderContext& ContextAware::getContext () const { return this->m_context; }
  7. } // namespace WallpaperEngine::Render::Helpers