Debian Codegraph @

Source/exehead/plugin.h

raw
1 /*
2 * plugin.h
3 *
4 * This file is a part of NSIS.
5 *
6 * Copyright (C) 1999-2026 Nullsoft and Contributors
7 *
8 * Licensed under the zlib/libpng license (the "License");
9 * you may not use this file except in compliance with the License.
10 *
11 * Licence details can be found in the file COPYING.
12 *
13 * This software is provided 'as-is', without any express or implied
14 * warranty.
15 */
16
17 #ifndef _PLUGIN_H_
18 #define _PLUGIN_H_
19
20 #include "../Platform.h"
21 #include "fileform.h"
22 #include "api.h"
23
24 #ifdef NSIS_CONFIG_PLUGIN_SUPPORT
25
26 extern int NSISCALL RegisterPluginCallback(HMODULE pluginHandle, NSISPLUGINCALLBACK proc);
27
28 extern void NSISCALL Plugins_SendMsgToAllPlugins(int msg);
29 extern void NSISCALL Plugins_UnloadAll();
30 extern BOOL NSISCALL Plugins_CanUnload(HANDLE pluginHandle);
31
32 #endif /* #ifdef NSIS_CONFIG_PLUGIN_SUPPORT */
33
34 #endif /* _PLUGIN_H_ */