Made it so only one resource editor will be created instead of every time a resource editor is needed, and added InitPluginDir
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1639 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7ae7b6469d
commit
09e7008d83
5 changed files with 97 additions and 77 deletions
|
@ -8,6 +8,7 @@ using namespace std;
|
|||
#include "strlist.h"
|
||||
#include "lineparse.h"
|
||||
#include "lang.h"
|
||||
#include "ResourceEditor.h"
|
||||
|
||||
#include "exehead/fileform.h"
|
||||
#include "exehead/config.h"
|
||||
|
@ -221,6 +222,10 @@ class CEXEBuild {
|
|||
#ifdef NSIS_CONFIG_COMPRESSION_SUPPORT
|
||||
int deflateToFile(FILE *fp, char *buf, int len); // len==0 to flush
|
||||
#endif
|
||||
|
||||
CResourceEditor *res_editor;
|
||||
void init_res_editor();
|
||||
void close_res_editor();
|
||||
};
|
||||
|
||||
#endif //_BUILD_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue