mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: INITIALIZER removed from Browser for Functions4U compatibility
git-svn-id: svn://ultimatepp.org/upp/trunk@10437 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
62c9a44ccb
commit
833757ee83
3 changed files with 7 additions and 4 deletions
|
|
@ -20,6 +20,11 @@
|
|||
|
||||
#define CPP_CODEBASE_VERSION 3141592
|
||||
|
||||
INITBLOCK { // Ugly as hell, but Functions4U are broken, so require this initialization hack instead of INITIALIZER
|
||||
void InitializeTopicModule();
|
||||
InitializeTopicModule();
|
||||
}
|
||||
|
||||
ArrayMap<String, SourceFileInfo> source_file;
|
||||
|
||||
void SourceFileInfo::Serialize(Stream& s)
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@
|
|||
#define IMAGEFILE <ide/Browser/Browser.iml>
|
||||
#include <Draw/iml_header.h>
|
||||
|
||||
INITIALIZE(TopicModule)
|
||||
|
||||
class Browser;
|
||||
|
||||
CppBase& CodeBase();
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ struct TopicModule : public IdeModule {
|
|||
}
|
||||
};
|
||||
|
||||
INITIALIZER(TopicModule)
|
||||
void InitializeTopicModule()
|
||||
{
|
||||
RegisterIdeModule(Single<TopicModule>());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue