mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 09:05:57 -05:00
Rename class AdvSSScreenshotObj to ScreenshotHelper
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user