summaryrefslogtreecommitdiff
path: root/Source/ResourceEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/ResourceEditor.h')
-rwxr-xr-xSource/ResourceEditor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/ResourceEditor.h b/Source/ResourceEditor.h
index 5174e4d..59def2e 100755
--- a/Source/ResourceEditor.h
+++ b/Source/ResourceEditor.h
@@ -3,7 +3,7 @@
*
* This file is a part of NSIS.
*
- * Copyright (C) 2002-2008 Amir Szekely <kichik@users.sourceforge.net>
+ * Copyright (C) 2002-2009 Amir Szekely <kichik@users.sourceforge.net>
*
* Licensed under the zlib/libpng license (the "License");
* you may not use this file except in compliance with the License.
@@ -109,7 +109,7 @@ typedef struct RESOURCE_DIRECTORY {
)
class CResourceEditor {
public:
- CResourceEditor(BYTE* pbPE, int iSize);
+ CResourceEditor(BYTE* pbPE, int iSize, bool bKeepData = true);
virtual ~CResourceEditor();
bool UpdateResource(WORD szType, WORD szName, LANGID wLanguage, BYTE* lpData, DWORD dwSize);
@@ -144,6 +144,7 @@ public:
private:
BYTE* m_pbPE;
int m_iSize;
+ bool m_bKeepData;
PIMAGE_NT_HEADERS m_ntHeaders;