mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-10-18 14:38:49 -05:00
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
39 lines
1.3 KiB
C++
39 lines
1.3 KiB
C++
#pragma once
|
|
#include "macro-edit.hpp"
|
|
|
|
#include <obs-data.h>
|
|
#include <memory>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace advss {
|
|
|
|
class Macro;
|
|
|
|
bool GetUndoRedoEnabled();
|
|
void SetUndoRedoEnabled(bool enabled);
|
|
|
|
void RegisterMacroAddUndoRedo(const std::string ¯oName);
|
|
bool RegisterMacroRemoveUndoRedo(Macro *macro);
|
|
void RegisterSegmentAddUndoRedo(Macro *macro, MacroEdit::SegmentType type,
|
|
int index);
|
|
void RegisterSegmentTypeChangeUndoRedo(Macro *macro,
|
|
MacroEdit::SegmentType type, int index,
|
|
const std::string &oldId,
|
|
obs_data_t *oldData, int oldLogic,
|
|
const std::string &newId,
|
|
obs_data_t *newData, int newLogic);
|
|
void RegisterSegmentRemoveUndoRedo(Macro *macro, MacroEdit::SegmentType type,
|
|
int index, const std::string &segmentId,
|
|
obs_data_t *segmentData, int logic);
|
|
void RegisterMacroRenameUndoRedo(const std::string &oldName,
|
|
const std::string &newName);
|
|
void RegisterGroupCreateUndoRedo(const std::string &groupName);
|
|
void RegisterGroupRemoveUndoRedo(const std::string &groupName);
|
|
void RegisterGroupDeleteUndoRedo(Macro *macro);
|
|
void RegisterMacroModifyUndoRedo(Macro *parentMacro, obs_data_t *beforeData);
|
|
void RegisterMacrosImportUndoRedo(
|
|
const std::vector<std::shared_ptr<Macro>> &importedMacros);
|
|
|
|
} // namespace advss
|