diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-01-23 16:05:50 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-01-23 16:05:50 +0300 |
| commit | b24b605821da1f4581d0a66d98f63effbecf46f6 (patch) | |
| tree | 57b61828230ac7b7f2dab364a848011f5dc0405a /plugins/ExternalAPI | |
| parent | 4f5e18684ec9518657a035164d04e04e87fca5a0 (diff) | |
Weather: first version that works
Diffstat (limited to 'plugins/ExternalAPI')
| -rw-r--r-- | plugins/ExternalAPI/m_weather.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/plugins/ExternalAPI/m_weather.h b/plugins/ExternalAPI/m_weather.h deleted file mode 100644 index 83793cc651..0000000000 --- a/plugins/ExternalAPI/m_weather.h +++ /dev/null @@ -1,67 +0,0 @@ -/*
-Weather Protocol plugin for Miranda IM
-Copyright (C) 2005-2009 Boris Krasnovskiy All Rights Reserved
-Copyright (C) 2002-2005 Calvin Che
-
-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 <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef M_WEATHER_H__
-#define M_WEATHER_H__ 1
-
-//============ WEATHER CONDITION STRUCT ============
-
-// weather conditions (added in v0.1.2.0)
-struct WEATHERINFO
-{
- MCONTACT hContact;
- TCHAR id[128];
- TCHAR city[128];
- TCHAR update[64];
- TCHAR cond[128];
- TCHAR temp[16];
- TCHAR low[16];
- TCHAR high[16];
- TCHAR feel[16];
- TCHAR wind[16];
- TCHAR winddir[64];
- TCHAR dewpoint[16];
- TCHAR pressure[16];
- TCHAR humid[16];
- TCHAR vis[16];
- TCHAR sunrise[32];
- TCHAR sunset[32];
-};
-
-// =============== WEATHER SERVICES ================
-
-// Enable or disable weather protocol.
-// WPARAM = FALSE to toggle, TRUE to use the LPARAM
-// LPARAM = TRUE to enable, FALSE to disable
-#define MS_WEATHER_ENABLED "Weather/EnableDisable"
-
-// Update all weather info
-// WPARAM = LPARAM = NULL
-#define MS_WEATHER_UPDATEALL "Weather/UpdateAll"
-
-// Update all weather info + erase the old ones
-// WPARAM = LPARAM = NULL
-#define MS_WEATHER_REFRESHALL "Weather/RefreshAll"
-
-// parse the string to turn it to weather display
-// WPARAM = (WEATHERINFO*)hContact
-// LPARAM = (char*)display_str
-#define MS_WEATHER_GETDISPLAY "Weather/GetDisplay"
-
-#endif //M_WEATHER_H__
|
