29 lines
330 B
C++
Executable File
29 lines
330 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "topic_editor_utils.h"
|
|
|
|
|
|
namespace TopicEditorBase
|
|
{
|
|
|
|
class TopicEditor;
|
|
|
|
class Interface
|
|
{
|
|
|
|
public:
|
|
virtual ~Interface() = default;
|
|
|
|
|
|
|
|
virtual TopicEditor *createTopicEditor(const TopicData &) = 0;
|
|
virtual bool initTopicEditor() { return true; }
|
|
virtual void finishTopicEditor() {}
|
|
|
|
};
|
|
|
|
}
|