mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-20 00:05:41 -05:00
25 lines
777 B
C++
25 lines
777 B
C++
#pragma once
|
|
#include "macro-edit.hpp"
|
|
|
|
#include <obs-data.h>
|
|
#include <string>
|
|
|
|
namespace advss {
|
|
|
|
class Macro;
|
|
|
|
void RegisterMacroAddUndoRedo(const std::string ¯oName);
|
|
bool RegisterMacroRemoveUndoRedo(Macro *macro);
|
|
void RegisterSegmentAddUndoRedo(Macro *macro, MacroEdit::SegmentType type,
|
|
int index);
|
|
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);
|
|
|
|
} // namespace advss
|