tahoma2d/toonz/sources/toonz/cachefxcommand.h
Shinya Kitaoka d1f6c4e95b REFACTORING: Add final specifiers (#537)
* add final specifiers

* apply clang-format

* fix for macOS
2016-06-29 15:17:12 +09:00

41 lines
886 B
C++

#pragma once
#ifndef CACHEFXCOMMAND_INCLUDE
#define CACHEFXCOMMAND_INCLUDE
#include "tfx.h"
#include <QObject>
//=============================================================================
// CacheFxCommand
//-----------------------------------------------------------------------------
class CacheFxCommand final : public QObject {
Q_OBJECT
public:
CacheFxCommand();
~CacheFxCommand();
static CacheFxCommand *instance();
void onNewScene();
void onSceneLoaded();
void onLevelChanged(const std::string &levelName);
public slots:
void onFxChanged();
void onXsheetChanged();
void onObjectChanged();
};
//=============================================================================
// Misc Stuff
//-----------------------------------------------------------------------------
void buildTreeDescription(std::string &desc, const TFxP &root);
#endif