重构函数名initViewPlugins
This commit is contained in:
parent
7d9f6a3f33
commit
5161b79608
|
@ -6,7 +6,7 @@ using namespace Components;
|
|||
using namespace Core;
|
||||
using namespace Config;
|
||||
|
||||
DocumentsManager::DocumentsManager(Project::ProjectManager *project) : pjtins(project), present_ui(nullptr) { registViewPlugins(); }
|
||||
DocumentsManager::DocumentsManager(Project::ProjectManager *project) : pjtins(project), present_ui(nullptr) { initViewPlugins(); }
|
||||
|
||||
void DocumentsManager::setPresent(Components::PresentHost *container) { present_ui = container; }
|
||||
|
||||
|
@ -14,7 +14,7 @@ Project::ProjectManager *DocumentsManager::projectManager() const { return pjtin
|
|||
|
||||
#include "srcedit_defaulttext.h"
|
||||
#include "srcedit_storyboard.h"
|
||||
void DocumentsManager::registViewPlugins() {
|
||||
void DocumentsManager::initViewPlugins() {
|
||||
registPresentType(new DefaultTextEditFactory);
|
||||
registPresentType(new StorySourceEditFactory);
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ namespace Core {
|
|||
*/
|
||||
Project::ProjectManager *projectManager() const;
|
||||
|
||||
void registViewPlugins();
|
||||
void initViewPlugins();
|
||||
|
||||
// ==========================================================
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue