本体との接続を追加
このコミットが含まれているのは:
5ファイル変更
+69
-2
検索条件に一致するファイルはありません
+6
-2
@@ -1,5 +1,6 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include "HostContext.h"
|
||||
#include "Log.h"
|
||||
|
||||
#include "plugin2.h"
|
||||
@@ -16,10 +17,13 @@ EXTERN_C __declspec(dllexport) COMMON_PLUGIN_TABLE* GetCommonPluginTable(void) {
|
||||
}
|
||||
EXTERN_C __declspec(dllexport) DWORD RequiredVersion() { return 2010000; }
|
||||
EXTERN_C __declspec(dllexport) void InitializeLogger(LOG_HANDLE* h) { SetLogHandle(h); }
|
||||
EXTERN_C __declspec(dllexport) void InitializeConfig(CONFIG_HANDLE* h) { SetConfigHandle(h); }
|
||||
EXTERN_C __declspec(dllexport) bool InitializePlugin(DWORD) { return true; }
|
||||
|
||||
EXTERN_C __declspec(dllexport) void RegisterPlugin(HOST_APP_TABLE*) {
|
||||
LogF(L"DockLayout registered");
|
||||
EXTERN_C __declspec(dllexport) void RegisterPlugin(HOST_APP_TABLE* host) {
|
||||
SetHostWindow(host->create_edit_handle()->get_host_app_window());
|
||||
|
||||
LogF(L"DockLayout registered (host=%p)", (void*)HostWindow());
|
||||
}
|
||||
|
||||
EXTERN_C __declspec(dllexport) void UninitializePlugin() {
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする