2008-12-09 22:20:59 +00:00
|
|
|
/*
|
|
|
|
* plugin.h
|
|
|
|
*
|
|
|
|
* This file is a part of NSIS.
|
|
|
|
*
|
2009-02-01 14:44:30 +00:00
|
|
|
* Copyright (C) 1999-2009 Nullsoft and Contributors
|
2008-12-09 22:20:59 +00:00
|
|
|
*
|
|
|
|
* Licensed under the zlib/libpng license (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
*
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* This software is provided 'as-is', without any express or implied
|
|
|
|
* warranty.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _PLUGIN_H_
|
|
|
|
#define _PLUGIN_H_
|
2008-11-29 22:03:33 +00:00
|
|
|
|
|
|
|
#include "../Platform.h"
|
|
|
|
#include "fileform.h"
|
2008-12-09 22:53:39 +00:00
|
|
|
#include "api.h"
|
2008-11-29 22:03:33 +00:00
|
|
|
|
|
|
|
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
|
|
|
|
2008-12-21 19:14:45 +00:00
|
|
|
extern int NSISCALL RegisterPluginCallback(HMODULE pluginHandle, NSISPLUGINCALLBACK proc);
|
2008-11-29 22:03:33 +00:00
|
|
|
|
|
|
|
extern void NSISCALL Plugins_SendMsgToAllPlugins(int msg);
|
|
|
|
extern void NSISCALL Plugins_UnloadAll();
|
|
|
|
extern BOOL NSISCALL Plugins_CanUnload(HANDLE pluginHandle);
|
|
|
|
|
|
|
|
#endif /* #ifdef NSIS_CONFIG_PLUGIN_SUPPORT */
|
|
|
|
|
2008-12-09 22:20:59 +00:00
|
|
|
#endif /* _PLUGIN_H_ */
|