Rename class AdvSSScreenshotObj to ScreenshotHelper

This commit is contained in:
WarmUpTill
2022-02-13 16:03:01 +01:00
committed by WarmUpTill
parent 6d2360eb87
commit 03900e936b
6 changed files with 21 additions and 22 deletions

View File

@@ -4,13 +4,13 @@
#include <QImage>
#include <chrono>
class AdvSSScreenshotObj {
class ScreenshotHelper {
public:
AdvSSScreenshotObj() = default;
AdvSSScreenshotObj(obs_source_t *source);
AdvSSScreenshotObj &operator=(const AdvSSScreenshotObj &) = delete;
AdvSSScreenshotObj(const AdvSSScreenshotObj &) = delete;
~AdvSSScreenshotObj();
ScreenshotHelper() = default;
ScreenshotHelper(obs_source_t *source);
ScreenshotHelper &operator=(const ScreenshotHelper &) = delete;
ScreenshotHelper(const ScreenshotHelper &) = delete;
~ScreenshotHelper();
void Screenshot();
void Download();

View File

@@ -29,7 +29,7 @@ struct VideoSwitch : virtual SceneSwitcherEntry {
double duration = 0;
bool ignoreInactiveSource = false;
std::unique_ptr<AdvSSScreenshotObj> screenshotData = nullptr;
std::unique_ptr<ScreenshotHelper> screenshotData = nullptr;
std::chrono::high_resolution_clock::time_point previousTime{};
QImage matchImage;