demotool/common.hh

28 lines
488 B
C++
Raw Normal View History

#pragma once
#ifndef REAL_BUILD
# include "externals.hh"
#endif
struct T_FilesWatcher;
struct T_SyncManager;
struct T_ScriptManager;
class T_UndoManager;
struct Common
{
static void Init( ) noexcept;
static void Shutdown( ) noexcept;
static T_FilesWatcher& Watcher( ) noexcept;
static T_SyncManager& Sync( ) noexcept;
static T_ScriptManager& Ops( ) noexcept;
static T_UndoManager& Undo( ) noexcept;
private:
Common( ) = delete;
NO_COPY( Common );
NO_MOVE( Common );
};