diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-08-01 20:48:21 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-08-01 20:48:21 +0000 |
commit | 2e8f7b168189b3b5cac82a9f4c03a97273c26e59 (patch) | |
tree | d7ce62982955390843ef27d9b485b7f9308528c3 /plugins/Weather/src | |
parent | b7f40fc32b483d9017d6e54bba21c7e75aa0ed2b (diff) |
weather: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src')
-rw-r--r-- | plugins/Weather/src/stdafx.cxx (renamed from plugins/Weather/src/stdafx.cpp) | 4 | ||||
-rw-r--r-- | plugins/Weather/src/stdafx.h (renamed from plugins/Weather/src/weather.h) | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_addstn.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_contacts.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_conv.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_data.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_http.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_icons.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_info.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_ini.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_mwin.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_opt.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_popup.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_svcs.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_update.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_userinfo.cpp | 2 |
17 files changed, 17 insertions, 19 deletions
diff --git a/plugins/Weather/src/stdafx.cpp b/plugins/Weather/src/stdafx.cxx index 2d786344e5..6fb37564b7 100644 --- a/plugins/Weather/src/stdafx.cpp +++ b/plugins/Weather/src/stdafx.cxx @@ -1,5 +1,5 @@ /*
-Copyright (c) 2012 Miranda NG team (http://miranda-ng.org)
+Copyright (C) 2012-15 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
@@ -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 "weather.h"
\ No newline at end of file +#include "stdafx.h"
\ No newline at end of file diff --git a/plugins/Weather/src/weather.h b/plugins/Weather/src/stdafx.h index 6dfcb98e11..dd86dfc4fc 100644 --- a/plugins/Weather/src/weather.h +++ b/plugins/Weather/src/stdafx.h @@ -24,8 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //============ THE INCLUDES ===========
-#define _CRT_SECURE_NO_WARNINGS
-
#include <share.h>
#include <time.h>
#include <windows.h>
diff --git a/plugins/Weather/src/weather.cpp b/plugins/Weather/src/weather.cpp index 458e7f1586..a4481b2605 100644 --- a/plugins/Weather/src/weather.cpp +++ b/plugins/Weather/src/weather.cpp @@ -24,7 +24,7 @@ upgrading, support for plugin uninsaller, and anything that doesn't belong to any other file.
*/
-#include "weather.h"
+#include "stdafx.h"
//============ GLOBAL VARIABLES ============
diff --git a/plugins/Weather/src/weather_addstn.cpp b/plugins/Weather/src/weather_addstn.cpp index 167675d2e5..85b4be596c 100644 --- a/plugins/Weather/src/weather_addstn.cpp +++ b/plugins/Weather/src/weather_addstn.cpp @@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. to the contact list. Contain code for both name and ID search.
*/
-#include "weather.h"
+#include "stdafx.h"
// variables used for weather_addstn.c
static int searchId = -1;
diff --git a/plugins/Weather/src/weather_contacts.cpp b/plugins/Weather/src/weather_contacts.cpp index 0bffa5a857..84ced72294 100644 --- a/plugins/Weather/src/weather_contacts.cpp +++ b/plugins/Weather/src/weather_contacts.cpp @@ -23,7 +23,7 @@ include the links, edit settings, and loading weather information for the contact.
*/
-#include "weather.h"
+#include "stdafx.h"
static void OpenUrl(TCHAR* format, TCHAR* id)
{
diff --git a/plugins/Weather/src/weather_conv.cpp b/plugins/Weather/src/weather_conv.cpp index 22bd529140..5d546609aa 100644 --- a/plugins/Weather/src/weather_conv.cpp +++ b/plugins/Weather/src/weather_conv.cpp @@ -23,7 +23,7 @@ This file contain the source related unit conversion, icon assignment, string conversions, display text parsing, etc
*/
-#include "weather.h"
+#include "stdafx.h"
//============ SOME HELPER FUNCTIONS ============
diff --git a/plugins/Weather/src/weather_data.cpp b/plugins/Weather/src/weather_data.cpp index b800bd0f94..c49194e720 100644 --- a/plugins/Weather/src/weather_data.cpp +++ b/plugins/Weather/src/weather_data.cpp @@ -23,7 +23,7 @@ This file contain the source related loading, obtaining, and saving individual weather data for a weather contact.
*/
-#include "weather.h"
+#include "stdafx.h"
//============ LOAD WEATHER INFO FROM A CONTACT ============
// get station ID from DB
diff --git a/plugins/Weather/src/weather_http.cpp b/plugins/Weather/src/weather_http.cpp index f6258efb74..7d6f0e1ff0 100644 --- a/plugins/Weather/src/weather_http.cpp +++ b/plugins/Weather/src/weather_http.cpp @@ -23,7 +23,7 @@ This file contain the source related to downloading weather info from the web using netlib
*/
-#include "weather.h"
+#include "stdafx.h"
HANDLE hNetlibUser, hNetlibHttp;
diff --git a/plugins/Weather/src/weather_icons.cpp b/plugins/Weather/src/weather_icons.cpp index 207bc0d338..16d8468cd9 100644 --- a/plugins/Weather/src/weather_icons.cpp +++ b/plugins/Weather/src/weather_icons.cpp @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "weather.h"
+#include "stdafx.h"
HANDLE hIcoLibIconsChanged = NULL;
diff --git a/plugins/Weather/src/weather_info.cpp b/plugins/Weather/src/weather_info.cpp index 8065433f35..7b24cbc804 100644 --- a/plugins/Weather/src/weather_info.cpp +++ b/plugins/Weather/src/weather_info.cpp @@ -25,7 +25,7 @@ ini files, as well as function that are used for debug purpose regrading the loading of ini contents
*/
-#include "weather.h"
+#include "stdafx.h"
//============ INI INFORMATION ============
diff --git a/plugins/Weather/src/weather_ini.cpp b/plugins/Weather/src/weather_ini.cpp index f39cb973ac..3a55f8554d 100644 --- a/plugins/Weather/src/weather_ini.cpp +++ b/plugins/Weather/src/weather_ini.cpp @@ -25,7 +25,7 @@ weather ini files and store them into memory. Also containing code for unloading and getting weather data from the ini settings.
*/
-#include "weather.h"
+#include "stdafx.h"
HWND hWndSetup;
diff --git a/plugins/Weather/src/weather_mwin.cpp b/plugins/Weather/src/weather_mwin.cpp index fd251c49cb..7d24297c9f 100644 --- a/plugins/Weather/src/weather_mwin.cpp +++ b/plugins/Weather/src/weather_mwin.cpp @@ -18,7 +18,7 @@ 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 "weather.h"
+#include "stdafx.h"
#define MS_TOOLTIP_SHOWTIP "mToolTip/ShowTip"
#define MS_TOOLTIP_HIDETIP "mToolTip/HideTip"
diff --git a/plugins/Weather/src/weather_opt.cpp b/plugins/Weather/src/weather_opt.cpp index 691defdd08..d6181671ec 100644 --- a/plugins/Weather/src/weather_opt.cpp +++ b/plugins/Weather/src/weather_opt.cpp @@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. contain code for saving/loading options from the database.
*/
-#include "weather.h"
+#include "stdafx.h"
static BOOL opt_startup;
int RedrawFrame(WPARAM wParam, LPARAM lParam);
diff --git a/plugins/Weather/src/weather_popup.cpp b/plugins/Weather/src/weather_popup.cpp index 09c4e4fe6b..31934095cc 100644 --- a/plugins/Weather/src/weather_popup.cpp +++ b/plugins/Weather/src/weather_popup.cpp @@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. options, popup display, and the code for popup process.
*/
-#include "weather.h"
+#include "stdafx.h"
// variables for weather_popup.c
static HANDLE hPopupContact;
diff --git a/plugins/Weather/src/weather_svcs.cpp b/plugins/Weather/src/weather_svcs.cpp index fdc93fdc06..972670128e 100644 --- a/plugins/Weather/src/weather_svcs.cpp +++ b/plugins/Weather/src/weather_svcs.cpp @@ -24,7 +24,7 @@ as required for a Miranda protocol. Also, it contains functions for building/changing the weather menu items.
*/
-#include "weather.h"
+#include "stdafx.h"
static HGENMENU hEnableDisablePopupMenu;
static HGENMENU hEnableDisableMenu;
diff --git a/plugins/Weather/src/weather_update.cpp b/plugins/Weather/src/weather_update.cpp index 5e45b69732..97fbfe48d0 100644 --- a/plugins/Weather/src/weather_update.cpp +++ b/plugins/Weather/src/weather_update.cpp @@ -24,7 +24,7 @@ information, both automatic (by timer) and manually (by selecting menu items).
*/
-#include "weather.h"
+#include "stdafx.h"
UPDATELIST *UpdateListHead;
UPDATELIST *UpdateListTail;
diff --git a/plugins/Weather/src/weather_userinfo.cpp b/plugins/Weather/src/weather_userinfo.cpp index 0eb97fdb30..8e0fc7116f 100644 --- a/plugins/Weather/src/weather_userinfo.cpp +++ b/plugins/Weather/src/weather_userinfo.cpp @@ -25,7 +25,7 @@ information, including the one shows in user detail and the brief information
*/
-#include "weather.h"
+#include "stdafx.h"
//============ CONTACT INFORMATION ============
|