[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / utils / Screenshot.h
blob6c44558005a4a3dccd258b6701a2e2566a0debfe
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "IScreenshotSurface.h"
13 #include <functional>
14 #include <memory>
15 #include <string>
16 #include <vector>
18 class CScreenShot
20 public:
21 static void Register(const std::function<std::unique_ptr<IScreenshotSurface>()>& createFunc);
23 static void TakeScreenshot();
24 static void TakeScreenshot(const std::string &filename, bool sync);
26 private:
27 static std::vector<std::function<std::unique_ptr<IScreenshotSurface>()>> m_screenShotSurfaces;