summaryrefslogtreecommitdiff
path: root/Source/ResourceVersionInfo.h
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2018-03-31 20:38:19 +0200
committerDidier Raboud <odyx@debian.org>2018-03-31 20:38:19 +0200
commitf05798f0619384fdb055f634ca4233378f2779dd (patch)
treeb1f9b212f77580c824cc765ac3778fc6c8f4d4d8 /Source/ResourceVersionInfo.h
parent59c41c0897494001ced424157660d4ee59bb5426 (diff)
Import Upstream version 2.32
Diffstat (limited to 'Source/ResourceVersionInfo.h')
-rwxr-xr-xSource/ResourceVersionInfo.h134
1 files changed, 67 insertions, 67 deletions
diff --git a/Source/ResourceVersionInfo.h b/Source/ResourceVersionInfo.h
index 264ee3f..1f1c5ec 100755
--- a/Source/ResourceVersionInfo.h
+++ b/Source/ResourceVersionInfo.h
@@ -1,67 +1,67 @@
-/*
- * ResourceVersionInfo.h: interface for the CResourceVersionInfo class.
- *
- * This file is a part of NSIS.
- *
- * Copyright (C) 1999-2007 Nullsoft and Contributors
- *
- * 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.
- */
-
-#if !defined(AFX_RESOURCEVERSIONINFO_H__80439ADA_49DA_4623_8DA9_1663FF356E76__INCLUDED_)
-#define AFX_RESOURCEVERSIONINFO_H__80439ADA_49DA_4623_8DA9_1663FF356E76__INCLUDED_
-
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
-
-#include "exehead/config.h"
-#ifdef NSIS_SUPPORT_VERSION_INFO
-
-#include "Platform.h"
-#include "strlist.h"
-
-struct version_string_list;
-
-class CVersionStrigList : public SortedStringListND<struct version_string_list>
-{
-public:
- ~CVersionStrigList();
- int add(LANGID langid, int codepage);
- LANGID get_lang(int idx);
- int get_codepage(int idx);
- DefineList* get_strings(int idx);
- int find(LANGID lang_id, int codepage);
- int getlen();
- int getnum();
-};
-
-/////////////////////////////////////////////////////////////////////////////////////////////
-class CResourceVersionInfo
-{
- VS_FIXEDFILEINFO m_FixedInfo;
- CVersionStrigList m_ChildStringLists;
-
-public:
- CResourceVersionInfo();
- virtual ~CResourceVersionInfo();
- int SetKeyValue(LANGID lang_id, int codepage, char* AKeyName, char* AValue);
- void SetFileFlags(int Value);
- void SetFileVersion(int HighPart, int LowPart);
- void SetProductVersion(int HighPart, int LowPart);
- void ExportToStream(GrowBuf &strm, int Index);
- int GetStringTablesCount();
- LANGID GetLangID(int Index);
- int GetCodePage(int Index);
- char *FindKey(LANGID LangID, int codepage, char *pKeyName);
-};
-
-#endif
-
-#endif // !defined(AFX_RESOURCEVERSIONINFO_H__80439ADA_49DA_4623_8DA9_1663FF356E76__INCLUDED_)
+/*
+ * ResourceVersionInfo.h: interface for the CResourceVersionInfo class.
+ *
+ * This file is a part of NSIS.
+ *
+ * Copyright (C) 1999-2007 Nullsoft and Contributors
+ *
+ * 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.
+ */
+
+#if !defined(AFX_RESOURCEVERSIONINFO_H__80439ADA_49DA_4623_8DA9_1663FF356E76__INCLUDED_)
+#define AFX_RESOURCEVERSIONINFO_H__80439ADA_49DA_4623_8DA9_1663FF356E76__INCLUDED_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+#include "exehead/config.h"
+#ifdef NSIS_SUPPORT_VERSION_INFO
+
+#include "Platform.h"
+#include "strlist.h"
+
+struct version_string_list;
+
+class CVersionStrigList : public SortedStringListND<struct version_string_list>
+{
+public:
+ ~CVersionStrigList();
+ int add(LANGID langid, int codepage);
+ LANGID get_lang(int idx);
+ int get_codepage(int idx);
+ DefineList* get_strings(int idx);
+ int find(LANGID lang_id, int codepage);
+ int getlen();
+ int getnum();
+};
+
+/////////////////////////////////////////////////////////////////////////////////////////////
+class CResourceVersionInfo
+{
+ VS_FIXEDFILEINFO m_FixedInfo;
+ CVersionStrigList m_ChildStringLists;
+
+public:
+ CResourceVersionInfo();
+ virtual ~CResourceVersionInfo();
+ int SetKeyValue(LANGID lang_id, int codepage, char* AKeyName, char* AValue);
+ void SetFileFlags(int Value);
+ void SetFileVersion(int HighPart, int LowPart);
+ void SetProductVersion(int HighPart, int LowPart);
+ void ExportToStream(GrowBuf &strm, int Index);
+ int GetStringTablesCount();
+ LANGID GetLangID(int Index);
+ int GetCodePage(int Index);
+ char *FindKey(LANGID LangID, int codepage, char *pKeyName);
+};
+
+#endif
+
+#endif // !defined(AFX_RESOURCEVERSIONINFO_H__80439ADA_49DA_4623_8DA9_1663FF356E76__INCLUDED_)