You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
project-kyoku/include/core/editorcallback.h

27 lines
386 B
C++

#pragma once
#include "core/systemevent.h"
#include <string>
namespace kku
{
class EditorCallback
{
public:
virtual ~EditorCallback() = default;
struct Metadata
{
const std::string group_title;
const std::string title;
};
virtual bool isEnabled() const = 0;
virtual void run() const = 0;
virtual Metadata getMetadata() const = 0;
};
}