From 13f917ea44a40282e9dd55777cdb0a5bd46e06f4 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 26 Sep 2012 07:00:53 +0000 Subject: added resource file and icon git-svn-id: http://svn.miranda-ng.org/main/trunk@1660 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/Skype.vcxproj | 2 + protocols/Skype/Skype.vcxproj.filters | 6 +++ protocols/Skype/res/Resource.rc | 90 ++++++++++++++++++++++++++++++++++ protocols/Skype/res/main.ico | Bin 0 -> 1150 bytes protocols/Skype/src/resource.h | 16 ++++++ protocols/Skype/src/skype.h | 2 +- 6 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 protocols/Skype/res/Resource.rc create mode 100644 protocols/Skype/res/main.ico create mode 100644 protocols/Skype/src/resource.h diff --git a/protocols/Skype/Skype.vcxproj b/protocols/Skype/Skype.vcxproj index 4a9be34c70..175735e458 100644 --- a/protocols/Skype/Skype.vcxproj +++ b/protocols/Skype/Skype.vcxproj @@ -101,6 +101,7 @@ + @@ -108,6 +109,7 @@ + diff --git a/protocols/Skype/Skype.vcxproj.filters b/protocols/Skype/Skype.vcxproj.filters index ca6ffdb4e4..cbb891cc18 100644 --- a/protocols/Skype/Skype.vcxproj.filters +++ b/protocols/Skype/Skype.vcxproj.filters @@ -24,6 +24,9 @@ Header Files + + Header Files + @@ -37,5 +40,8 @@ Resource Files + + Resource Files + \ No newline at end of file diff --git a/protocols/Skype/res/Resource.rc b/protocols/Skype/res/Resource.rc new file mode 100644 index 0000000000..a2f8782770 --- /dev/null +++ b/protocols/Skype/res/Resource.rc @@ -0,0 +1,90 @@ +// Microsoft Visual C++ generated resource script. +// +#include "..\src\resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Русский (Россия) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) +LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT +#pragma code_page(1251) + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON ICON "Main.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "..\\src\\resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + +END +#endif // APSTUDIO_INVOKED + +#endif // Русский (Россия) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/protocols/Skype/res/main.ico b/protocols/Skype/res/main.ico new file mode 100644 index 0000000000..e2331b877a Binary files /dev/null and b/protocols/Skype/res/main.ico differ diff --git a/protocols/Skype/src/resource.h b/protocols/Skype/src/resource.h new file mode 100644 index 0000000000..6f23e4f274 --- /dev/null +++ b/protocols/Skype/src/resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by Resource.rc +// +#define IDI_ICON 101 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 102 +#define _APS_NEXT_COMMAND_VALUE 40075 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 102 +#endif +#endif diff --git a/protocols/Skype/src/skype.h b/protocols/Skype/src/skype.h index 908b8bda21..bc9dc36372 100644 --- a/protocols/Skype/src/skype.h +++ b/protocols/Skype/src/skype.h @@ -35,7 +35,7 @@ #include "version.h" #include "skype_proto.h" - +#include "resource.h" // skype #define SSL_LIB_CYASSL -- cgit v1.2.3