summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-04-24 19:36:19 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-04-24 19:36:19 +0000
commitb53f73d5762f09620ad95bfd81c74660c2077dad (patch)
tree53fde9d981ab7a8eaf0684cd09c963383f7866f5 /plugins
parent74eb6389e623a0bf0b50ada6424466f56219ca62 (diff)
Alarms - common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13103 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Alarms/alarms.vcxproj28
-rw-r--r--plugins/Alarms/alarms.vcxproj.filters4
-rw-r--r--plugins/Alarms/alarms_10.vcxproj12
-rw-r--r--plugins/Alarms/alarms_12.vcxproj12
-rw-r--r--plugins/Alarms/src/alarm_win.cpp2
-rw-r--r--plugins/Alarms/src/alarmlist.cpp2
-rw-r--r--plugins/Alarms/src/alarms.cpp2
-rw-r--r--plugins/Alarms/src/frame.cpp2
-rw-r--r--plugins/Alarms/src/icons.cpp2
-rw-r--r--plugins/Alarms/src/options.cpp2
-rw-r--r--plugins/Alarms/src/stdafx.cxx (renamed from plugins/Alarms/src/stdafx.cpp)2
-rw-r--r--plugins/Alarms/src/stdafx.h (renamed from plugins/Alarms/src/common.h)1
-rw-r--r--plugins/Alarms/src/time_utils.cpp2
13 files changed, 52 insertions, 21 deletions
diff --git a/plugins/Alarms/alarms.vcxproj b/plugins/Alarms/alarms.vcxproj
new file mode 100644
index 0000000000..e811ecbad3
--- /dev/null
+++ b/plugins/Alarms/alarms.vcxproj
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectName>Alarms</ProjectName>
+ <ProjectGuid>{5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}</ProjectGuid>
+ </PropertyGroup>
+ <ImportGroup Label="PropertySheets">
+ <Import Project="$(ProjectDir)..\..\build\vc.common\common.props" />
+ </ImportGroup>
+</Project> \ No newline at end of file
diff --git a/plugins/Alarms/alarms.vcxproj.filters b/plugins/Alarms/alarms.vcxproj.filters
new file mode 100644
index 0000000000..de5ad9f66c
--- /dev/null
+++ b/plugins/Alarms/alarms.vcxproj.filters
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(ProjectDir)..\..\build\vc.common\common.filters" />
+</Project> \ No newline at end of file
diff --git a/plugins/Alarms/alarms_10.vcxproj b/plugins/Alarms/alarms_10.vcxproj
index c8c9fef902..5252841576 100644
--- a/plugins/Alarms/alarms_10.vcxproj
+++ b/plugins/Alarms/alarms_10.vcxproj
@@ -75,7 +75,7 @@
<AdditionalIncludeDirectories>..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -104,7 +104,7 @@
<AdditionalIncludeDirectories>..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -136,7 +136,7 @@
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
@@ -163,7 +163,7 @@
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
@@ -185,7 +185,7 @@
<ClCompile Include="src\alarm_win.cpp" />
<ClCompile Include="src\alarmlist.cpp" />
<ClCompile Include="src\alarms.cpp" />
- <ClCompile Include="src\stdafx.cpp">
+ <ClCompile Include="src\stdafx.cxx">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="src\frame.cpp" />
@@ -197,11 +197,11 @@
<ClInclude Include="src\alarm_win.h" />
<ClInclude Include="src\alarmlist.h" />
<ClInclude Include="src\alarms.h" />
- <ClInclude Include="src\common.h" />
<ClInclude Include="src\frame.h" />
<ClInclude Include="src\icons.h" />
<ClInclude Include="src\options.h" />
<ClInclude Include="src\resource.h" />
+ <ClInclude Include="src\stdafx.h" />
<ClInclude Include="src\time_utils.h" />
<ClInclude Include="src\Version.h" />
</ItemGroup>
diff --git a/plugins/Alarms/alarms_12.vcxproj b/plugins/Alarms/alarms_12.vcxproj
index 0e2b6bc5a2..5242bfd51e 100644
--- a/plugins/Alarms/alarms_12.vcxproj
+++ b/plugins/Alarms/alarms_12.vcxproj
@@ -79,7 +79,7 @@
<AdditionalIncludeDirectories>..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -107,7 +107,7 @@
<AdditionalIncludeDirectories>..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -138,7 +138,7 @@
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
@@ -166,7 +166,7 @@
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
- <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
@@ -188,7 +188,7 @@
<ClCompile Include="src\alarm_win.cpp" />
<ClCompile Include="src\alarmlist.cpp" />
<ClCompile Include="src\alarms.cpp" />
- <ClCompile Include="src\stdafx.cpp">
+ <ClCompile Include="src\stdafx.cxx">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="src\frame.cpp" />
@@ -200,11 +200,11 @@
<ClInclude Include="src\alarm_win.h" />
<ClInclude Include="src\alarmlist.h" />
<ClInclude Include="src\alarms.h" />
- <ClInclude Include="src\common.h" />
<ClInclude Include="src\frame.h" />
<ClInclude Include="src\icons.h" />
<ClInclude Include="src\options.h" />
<ClInclude Include="src\resource.h" />
+ <ClInclude Include="src\stdafx.h" />
<ClInclude Include="src\time_utils.h" />
<ClInclude Include="src\Version.h" />
</ItemGroup>
diff --git a/plugins/Alarms/src/alarm_win.cpp b/plugins/Alarms/src/alarm_win.cpp
index 4c0231d316..cd4d691845 100644
--- a/plugins/Alarms/src/alarm_win.cpp
+++ b/plugins/Alarms/src/alarm_win.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
#include "alarm_win.h"
#define ID_TIMER_SOUND 10101
diff --git a/plugins/Alarms/src/alarmlist.cpp b/plugins/Alarms/src/alarmlist.cpp
index 563ad000f0..acbcfef543 100644
--- a/plugins/Alarms/src/alarmlist.cpp
+++ b/plugins/Alarms/src/alarmlist.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
#include "alarmlist.h"
AlarmList alarms;
diff --git a/plugins/Alarms/src/alarms.cpp b/plugins/Alarms/src/alarms.cpp
index cf8050f8ec..9144031f2a 100644
--- a/plugins/Alarms/src/alarms.cpp
+++ b/plugins/Alarms/src/alarms.cpp
@@ -7,7 +7,7 @@ modify it as they wish with no restriction.
There is no warranty.
*/
-#include "common.h"
+#include "stdafx.h"
#include "alarms.h"
diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp
index e6342dcc17..6c22768090 100644
--- a/plugins/Alarms/src/frame.cpp
+++ b/plugins/Alarms/src/frame.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
#include "frame.h"
HWND hwnd_plugin = 0;
diff --git a/plugins/Alarms/src/icons.cpp b/plugins/Alarms/src/icons.cpp
index ca735b8951..655ec171a4 100644
--- a/plugins/Alarms/src/icons.cpp
+++ b/plugins/Alarms/src/icons.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
#include "icons.h"
HICON hIconMenuSet, hIconList1, hIconList2, hIconMenuShowHide, hIconSystray;
diff --git a/plugins/Alarms/src/options.cpp b/plugins/Alarms/src/options.cpp
index ac3cdbf80e..4b5fc36af7 100644
--- a/plugins/Alarms/src/options.cpp
+++ b/plugins/Alarms/src/options.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
#include "options.h"
Options options;
diff --git a/plugins/Alarms/src/stdafx.cpp b/plugins/Alarms/src/stdafx.cxx
index c5fe5abaad..6fb37564b7 100644
--- a/plugins/Alarms/src/stdafx.cpp
+++ b/plugins/Alarms/src/stdafx.cxx
@@ -15,4 +15,4 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "common.h" \ No newline at end of file
+#include "stdafx.h" \ No newline at end of file
diff --git a/plugins/Alarms/src/common.h b/plugins/Alarms/src/stdafx.h
index 76b82b44b9..78cfb91ed3 100644
--- a/plugins/Alarms/src/common.h
+++ b/plugins/Alarms/src/stdafx.h
@@ -7,7 +7,6 @@
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define VC_EXTRALEAN
-#define _CRT_SECURE_NO_DEPRECATE
#include <windows.h>
#include <shellapi.h>
diff --git a/plugins/Alarms/src/time_utils.cpp b/plugins/Alarms/src/time_utils.cpp
index 69f45612f8..c25a281fe5 100644
--- a/plugins/Alarms/src/time_utils.cpp
+++ b/plugins/Alarms/src/time_utils.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
#include "time_utils.h"
SYSTEMTIME last_check;