Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Commit

Permalink
icons, resource versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ncatlin committed May 14, 2018
1 parent 7859db5 commit 648d80e
Show file tree
Hide file tree
Showing 8 changed files with 172 additions and 1 deletion.
2 changes: 1 addition & 1 deletion exileSniffer/GeneratedFiles/ui_exileSniffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ class Ui_exileSniffer
QObject::connect(logSetDirBtn, SIGNAL(clicked()), exileSniffer, SLOT(doLogSetDir()));
QObject::connect(logsOpenDirBtn, SIGNAL(clicked()), exileSniffer, SLOT(doLogOpenDir()));

processTabs->setCurrentIndex(1);
processTabs->setCurrentIndex(5);
decrypt_details_stack->setCurrentIndex(1);
decodedDetailsTab->setCurrentIndex(1);
settingsChoiceList->setCurrentRow(0);
Expand Down
Binary file modified exileSniffer/exileSniffer.ico
Binary file not shown.
29 changes: 29 additions & 0 deletions exileSniffer/exileSniffer.rc
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
IDI_ICON1 ICON DISCARDABLE "exileSniffer.ico"

#include <windows.h>
#include "version.h"

VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", VER_COMPANYNAME_STR
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", VER_INTERNALNAME_STR
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
VALUE "LegalTrademarks1", VER_LEGALTRADEMARKS1_STR
VALUE "LegalTrademarks2", VER_LEGALTRADEMARKS2_STR
VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
VALUE "ProductName", VER_PRODUCTNAME_STR
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END

BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
4 changes: 4 additions & 0 deletions exileSniffer/exileSniffer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
<ClInclude Include="packetIDs.h" />
<ClInclude Include="packet_capture_thread.h" />
<ClInclude Include="packet_processor.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="safequeue.h" />
<QtMoc Include="statusWidget.h" />
<ClInclude Include="uiMsg.h" />
Expand All @@ -195,6 +196,9 @@
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Image Include="exileSniffer.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" />
Expand Down
6 changes: 6 additions & 0 deletions exileSniffer/exileSniffer.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
<ClInclude Include="clientHexData.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<QtMoc Include="exileSniffer.h">
Expand Down Expand Up @@ -174,4 +177,7 @@
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Image Include="exileSniffer.ico" />
</ItemGroup>
</Project>
98 changes: 98 additions & 0 deletions exileSniffer/exileSniffer2.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// English (United Kingdom) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "exileSniffer.ico"


#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
BEGIN
"\0"
END

3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080904b0"
BEGIN
VALUE "CompanyName", "Nia Catlin"
VALUE "FileDescription", "Path of Exile protocol dissector"
VALUE "FileVersion", "1.0.0.0"
VALUE "InternalName", "exileSniffer.exe"
VALUE "LegalCopyright", "Copyright (C) 2018"
VALUE "OriginalFilename", "exileSniffer.exe"
VALUE "ProductName", "exileSniffer"
VALUE "ProductVersion", "1.0.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x809, 1200
END
END

#endif // English (United Kingdom) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

15 changes: 15 additions & 0 deletions exileSniffer/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by exileSniffer.rc
//

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
19 changes: 19 additions & 0 deletions exileSniffer/version.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef VERSION_H
#define VERSION_H

#define VER_FILEVERSION 1,0,0,0
#define VER_FILEVERSION_STR "1.0.0.0\0"

#define VER_PRODUCTVERSION 1,0,0,0
#define VER_PRODUCTVERSION_STR "1.0\0"

#define VER_COMPANYNAME_STR "Nia Catlin"
#define VER_FILEDESCRIPTION_STR "exileSniffer"
#define VER_INTERNALNAME_STR "exileSniffer"
#define VER_LEGALCOPYRIGHT_STR "Copyright © 2018 Nia Catlin"
#define VER_LEGALTRADEMARKS1_STR "Apache 2.0 Licence"
#define VER_LEGALTRADEMARKS2_STR VER_LEGALTRADEMARKS1_STR
#define VER_ORIGINALFILENAME_STR "exileSniffer.exe"
#define VER_PRODUCTNAME_STR "exileSniffer"

#endif // VERSION_H

0 comments on commit 648d80e

Please sign in to comment.