diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ea9c4a5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.h text +*.rc text \ No newline at end of file diff --git a/.gitignore b/.gitignore index 8ec11b0..6f45487 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ Packaging/NppShell.msix Debug Release *.user +*.aps diff --git a/NppShell.rc b/NppShell.rc new file mode 100644 index 0000000..7e14504 --- /dev/null +++ b/NppShell.rc @@ -0,0 +1,100 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (United States) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""winres.h""\r\n" + "\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 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", "Bjarke I. Pedersen gurli@gurlinet.dk" + VALUE "FileDescription", "Notepad++ Context Menu" + VALUE "FileVersion", "1.0.0.0" + VALUE "InternalName", "NppShell.dll" + VALUE "LegalCopyright", "Copyleft 2023 by Bjarke I. Pedersen" + VALUE "OriginalFilename", "NppShell.dll" + VALUE "ProductName", "Notepad++" + VALUE "ProductVersion", "1.0.0.0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // English (United States) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/NppShell.vcxproj b/NppShell.vcxproj index a4f7702..e8f1cad 100644 --- a/NppShell.vcxproj +++ b/NppShell.vcxproj @@ -271,6 +271,7 @@ + @@ -299,6 +300,9 @@ + + + diff --git a/resource.h b/resource.h new file mode 100644 index 0000000..51423cc --- /dev/null +++ b/resource.h @@ -0,0 +1,14 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by NppShell.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 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif