move definitions common to both plug-ins and stubs to api.h (part of patch #2359978)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5815 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-12-09 22:53:39 +00:00
parent f6e4fefbf5
commit 4859b8702e
5 changed files with 5 additions and 60 deletions

View file

@ -31,6 +31,7 @@
#include "plugin.h"
#include "lang.h"
#include "components.h"
#include "api.h"
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
HICON g_hIcon;
@ -55,8 +56,6 @@ static char g_tmp[NSIS_MAX_STRLEN * 4];
static int m_page=-1,m_retcode,m_delta;
static page *g_this_page;
#define NOTIFY_BYE_BYE 'x'
static void NSISCALL outernotify(int delta) {
if (delta==NOTIFY_BYE_BYE)
g_quit_flag++;