summaryrefslogtreecommitdiffstats
path: root/xbmc/rendering/dx/ScreenshotSurfaceWindows.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/rendering/dx/ScreenshotSurfaceWindows.h')
-rw-r--r--xbmc/rendering/dx/ScreenshotSurfaceWindows.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/xbmc/rendering/dx/ScreenshotSurfaceWindows.h b/xbmc/rendering/dx/ScreenshotSurfaceWindows.h
new file mode 100644
index 0000000..e492e44
--- /dev/null
+++ b/xbmc/rendering/dx/ScreenshotSurfaceWindows.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2005-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include "utils/IScreenshotSurface.h"
+
+#include <memory>
+
+class CScreenshotSurfaceWindows : public IScreenshotSurface
+{
+public:
+ static void Register();
+ static std::unique_ptr<IScreenshotSurface> CreateSurface();
+
+ bool Capture() override;
+};