From 4c358d22027165b6e4680a93f075706781328269 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 5 Oct 2013 17:31:47 +0000 Subject: the very basic skeleton that compiles git-svn-id: http://svn.miranda-ng.org/main/trunk@6351 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/res/version.rc | 38 ++++++ protocols/VKontakte/src/main.cpp | 18 +++ protocols/VKontakte/src/stdafx.cpp | 18 +++ protocols/VKontakte/src/stdafx.h | 60 ++++++++++ protocols/VKontakte/src/version.h | 20 ++++ protocols/VKontakte/src/vk.h | 16 +++ protocols/VKontakte/vk_10.vcxproj | 188 +++++++++++++++++++++++++++++ protocols/VKontakte/vk_10.vcxproj.filters | 41 +++++++ protocols/VKontakte/vk_11.vcxproj | 190 ++++++++++++++++++++++++++++++ protocols/VKontakte/vk_11.vcxproj.filters | 38 ++++++ 10 files changed, 627 insertions(+) create mode 100644 protocols/VKontakte/res/version.rc create mode 100644 protocols/VKontakte/src/main.cpp create mode 100644 protocols/VKontakte/src/stdafx.cpp create mode 100644 protocols/VKontakte/src/stdafx.h create mode 100644 protocols/VKontakte/src/version.h create mode 100644 protocols/VKontakte/src/vk.h create mode 100644 protocols/VKontakte/vk_10.vcxproj create mode 100644 protocols/VKontakte/vk_10.vcxproj.filters create mode 100644 protocols/VKontakte/vk_11.vcxproj create mode 100644 protocols/VKontakte/vk_11.vcxproj.filters (limited to 'protocols/VKontakte') diff --git a/protocols/VKontakte/res/version.rc b/protocols/VKontakte/res/version.rc new file mode 100644 index 0000000000..5bfbab4754 --- /dev/null +++ b/protocols/VKontakte/res/version.rc @@ -0,0 +1,38 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "afxres.h" +#include "..\src\version.h" + +VS_VERSION_INFO VERSIONINFO + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "FileDescription", __DESCRIPTION + VALUE "InternalName", __PLUGIN_NAME + VALUE "LegalCopyright", __COPYRIGHT + VALUE "OriginalFilename", __FILENAME + VALUE "ProductName", __PLUGIN_NAME + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END diff --git a/protocols/VKontakte/src/main.cpp b/protocols/VKontakte/src/main.cpp new file mode 100644 index 0000000000..d788c2781d --- /dev/null +++ b/protocols/VKontakte/src/main.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2013 Miranda NG Project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" diff --git a/protocols/VKontakte/src/stdafx.cpp b/protocols/VKontakte/src/stdafx.cpp new file mode 100644 index 0000000000..d788c2781d --- /dev/null +++ b/protocols/VKontakte/src/stdafx.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2013 Miranda NG Project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" diff --git a/protocols/VKontakte/src/stdafx.h b/protocols/VKontakte/src/stdafx.h new file mode 100644 index 0000000000..2672a9d5a5 --- /dev/null +++ b/protocols/VKontakte/src/stdafx.h @@ -0,0 +1,60 @@ +/* +Copyright (C) 2013 Miranda NG Project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. +#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. +#endif + +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "win2k.h" + +#include "vk.h" diff --git a/protocols/VKontakte/src/version.h b/protocols/VKontakte/src/version.h new file mode 100644 index 0000000000..e035ffeb5d --- /dev/null +++ b/protocols/VKontakte/src/version.h @@ -0,0 +1,20 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 1 +#define __BUILD_NUM 1 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM + +#define __STRINGIFY_IMPL(x) #x +#define __STRINGIFY(x) __STRINGIFY_IMPL(x) +#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS) + +#define __PLUGIN_NAME "VKontakte" +#define __INTERNAL_NAME "VKontakte" +#define __FILENAME "VKontakte.dll" +#define __DESCRIPTION "VKontakte protocol support for Miranda NG." +#define __AUTHOR "Miranda NG Team" +#define __AUTHOREMAIL "" +#define __AUTHORWEB "http://miranda-ng.org/p/VKontakte/" +#define __COPYRIGHT "© 2013 Miranda NG Team" diff --git a/protocols/VKontakte/src/vk.h b/protocols/VKontakte/src/vk.h new file mode 100644 index 0000000000..6b79f6eac0 --- /dev/null +++ b/protocols/VKontakte/src/vk.h @@ -0,0 +1,16 @@ +/* +Copyright (C) 2013 Miranda NG Project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ diff --git a/protocols/VKontakte/vk_10.vcxproj b/protocols/VKontakte/vk_10.vcxproj new file mode 100644 index 0000000000..82d222613c --- /dev/null +++ b/protocols/VKontakte/vk_10.vcxproj @@ -0,0 +1,188 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {BF6E1942-7E42-4564-9DF5-FD0A00D71173} + VKontakte + + + + DynamicLibrary + Unicode + true + + + DynamicLibrary + Unicode + true + + + DynamicLibrary + Unicode + + + DynamicLibrary + Unicode + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + true + + + + Disabled + ..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_USRDLL;TWITTER_EXPORTS;_CRT_SECURE_NO_WARNINGS;NOMINMAX;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + Level3 + EditAndContinue + Use + + + true + Windows + $(IntDir)$(TargetName).lib + false + $(ProfileDir)..\..\bin10\lib + + + _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi + + + + + Disabled + ..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories) + _WINDOWS;_USRDLL;TWITTER_EXPORTS;_CRT_SECURE_NO_WARNINGS;NOMINMAX;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + Level3 + Use + + + true + Windows + $(IntDir)$(TargetName).lib + false + $(ProfileDir)..\..\bin10\lib + + + _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi + + + + + ..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;TWITTER_EXPORTS;_CRT_SECURE_NO_WARNINGS;NOMINMAX;%(PreprocessorDefinitions) + Level3 + Full + OnlyExplicitInline + Size + Use + + + true + Windows + true + true + $(IntDir)$(TargetName).lib + false + $(ProfileDir)..\..\bin10\lib + /PDBALTPATH:%_PDB% + + + ..\..\include\msapi + NDEBUG;%(PreprocessorDefinitions) + + + + + ..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories) + NDEBUG;_WINDOWS;_USRDLL;TWITTER_EXPORTS;_CRT_SECURE_NO_WARNINGS;NOMINMAX;%(PreprocessorDefinitions) + Level3 + Full + OnlyExplicitInline + Size + Use + + + true + Windows + true + true + $(IntDir)$(TargetName).lib + false + $(ProfileDir)..\..\bin10\lib + /PDBALTPATH:%_PDB% + + + ..\..\include\msapi + NDEBUG;%(PreprocessorDefinitions) + + + + + + Create + Create + Create + Create + + + + + + + + + + + + + + \ No newline at end of file diff --git a/protocols/VKontakte/vk_10.vcxproj.filters b/protocols/VKontakte/vk_10.vcxproj.filters new file mode 100644 index 0000000000..7c10ef224e --- /dev/null +++ b/protocols/VKontakte/vk_10.vcxproj.filters @@ -0,0 +1,41 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + + + Resource Files + + + \ No newline at end of file diff --git a/protocols/VKontakte/vk_11.vcxproj b/protocols/VKontakte/vk_11.vcxproj new file mode 100644 index 0000000000..5829d35b69 --- /dev/null +++ b/protocols/VKontakte/vk_11.vcxproj @@ -0,0 +1,190 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {BF6E1942-7E42-4564-9DF5-FD0A00D71173} + VKontakte + + + + DynamicLibrary + Unicode + true + v110_xp + + + DynamicLibrary + Unicode + true + v110_xp + + + DynamicLibrary + Unicode + v110_xp + + + DynamicLibrary + Unicode + v110_xp + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + true + + + + Disabled + ..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_USRDLL;TWITTER_EXPORTS;_CRT_SECURE_NO_WARNINGS;NOMINMAX;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + Level3 + EditAndContinue + Use + + + true + Windows + $(IntDir)$(TargetName).lib + false + $(ProfileDir)..\..\bin11\lib + false + + + _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi + + + + + Disabled + ..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories) + _WINDOWS;_USRDLL;TWITTER_EXPORTS;_CRT_SECURE_NO_WARNINGS;NOMINMAX;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + Level3 + Use + + + true + Windows + $(IntDir)$(TargetName).lib + false + $(ProfileDir)..\..\bin11\lib + + + _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi + + + + + ..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;TWITTER_EXPORTS;_CRT_SECURE_NO_WARNINGS;NOMINMAX;%(PreprocessorDefinitions) + Level3 + Full + OnlyExplicitInline + Size + Use + + + true + Windows + true + true + $(IntDir)$(TargetName).lib + false + $(ProfileDir)..\..\bin11\lib + + + ..\..\include\msapi + NDEBUG;%(PreprocessorDefinitions) + + + + + ..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories) + NDEBUG;_WINDOWS;_USRDLL;TWITTER_EXPORTS;_CRT_SECURE_NO_WARNINGS;NOMINMAX;%(PreprocessorDefinitions) + Level3 + Full + OnlyExplicitInline + Size + Use + + + true + Windows + true + true + $(IntDir)$(TargetName).lib + false + $(ProfileDir)..\..\bin11\lib + + + ..\..\include\msapi + NDEBUG;%(PreprocessorDefinitions) + + + + + + Create + Create + Create + Create + + + + + + + + + + + + + \ No newline at end of file diff --git a/protocols/VKontakte/vk_11.vcxproj.filters b/protocols/VKontakte/vk_11.vcxproj.filters new file mode 100644 index 0000000000..a153d9aed5 --- /dev/null +++ b/protocols/VKontakte/vk_11.vcxproj.filters @@ -0,0 +1,38 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + + + Resource Files + + + \ No newline at end of file -- cgit v1.2.3