From a85e238092f480e9de278ae507af710633fa2824 Mon Sep 17 00:00:00 2001
From: Vadim Dashevskiy <watcherhd@gmail.com>
Date: Fri, 18 May 2012 10:50:20 +0000
Subject: moving API to ExternalAPI folder

git-svn-id: http://svn.miranda-ng.org/main/trunk@34 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 protocols/weather/m_cluiframes.h | 275 ---------------------------------------
 protocols/weather/weather_10.sln |  24 ++--
 2 files changed, 12 insertions(+), 287 deletions(-)
 delete mode 100644 protocols/weather/m_cluiframes.h

(limited to 'protocols/weather')

diff --git a/protocols/weather/m_cluiframes.h b/protocols/weather/m_cluiframes.h
deleted file mode 100644
index 43b37b5133..0000000000
--- a/protocols/weather/m_cluiframes.h
+++ /dev/null
@@ -1,275 +0,0 @@
-/*
-Miranda ICQ: the free icq client for MS Windows
-Copyright (C) 2000-2  Richard Hughes, Roland Rabien & Tristan Van de Vreede
-
-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; either version 2
-of the License, or (at your option) any later version.
-
-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, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-*/
-
-//#pragma hdrstop
-
-////////////////////////////////////
-//Extra Image Column Support +0.5.0.0
-
-//Extra columns type.
-//column arranged in this way
-//
-//	[statusicon] ContactName	[ADV1][ADV2][SMS][EMAIL][PROTO]
-//
-#define  EXTRA_ICON_EMAIL	1
-#define  EXTRA_ICON_PROTO	2
-#define  EXTRA_ICON_SMS		3
-#define  EXTRA_ICON_ADV1	4
-#define  EXTRA_ICON_ADV2	5
-#define DEFAULT_TITLEBAR_HEIGHT		18
-
-#define CLS_SKINNEDFRAME	0x0800   //this control will be the main contact list (v. 0.3.4.3+ 2004/11/02)
-
-typedef struct
-{
-int cbSize;			//must be sizeof(IconExtraColumn)
-int ColumnType;
-HANDLE hImage;		//return value from MS_CLIST_EXTRA_ADD_ICON
-}IconExtraColumn,*pIconExtraColumn;
-
-
-//Set icon for contact at needed column
-//wparam=hContact
-//lparam=pIconExtraColumn
-//return 0 on success,-1 on failure
-//
-//See above for supported columns
-#define MS_CLIST_EXTRA_SET_ICON			"CListFrames/SetIconForExraColumn"
-
-//Adding icon to extra image list.
-//Call this in ME_CLIST_EXTRA_LIST_REBUILD event
-//
-//wparam=hIcon
-//lparam=0
-//return hImage on success,-1 on failure
-#define MS_CLIST_EXTRA_ADD_ICON			"CListFrames/AddIconToExtraImageList"
-
-
-
-#define ME_CLIST_EXTRA_LIST_REBUILD			"CListFrames/OnExtraListRebuild"
-
-//called with wparam=hContact
-#define ME_CLIST_EXTRA_IMAGE_APPLY			"CListFrames/OnExtraImageApply"
-
-
-///////////////////////////////////
-
-
-
-
-//
-//want show tooltip for statusbar
-//wparam=(char *)protocolname
-//lparam=0
-#define ME_CLIST_FRAMES_SB_SHOW_TOOLTIP							"CListFrames/StatusBarShowToolTip"
-
-
-//want hide tooltip for statusbar
-//wparam=lparam=0
-
-#define ME_CLIST_FRAMES_SB_HIDE_TOOLTIP							"CListFrames/StatusBarHideToolTip"
-
-//
-
-
-
-//adds a frame window
-//wParam=(CLISTFrame*)
-//lParam=0
-//returns an integer, the frame id.
-typedef struct tagCLISTFrame {
-	DWORD cbSize;
-	HWND hWnd ;
-	HICON hIcon;
-	int align; //al flags below
-	int height;
-	int Flags; //F_flags below
-	union {
-		char *name; //frame window name indentifier (DO NOT TRANSLATE)
-		wchar_t *wname;
-		LPTSTR tname;
-	};
-	union {
-		char *TBname; //titlebar & menu caption
-		wchar_t *TBwname;
-		LPTSTR TBtname;
-	};
-	//COLORREF TBBackColour; //titlebar background colour
-} CLISTFrame;
-#define F_VISIBLE			1 //Frame visible
-#define F_SHOWTB			2 //Show TitleBar
-#define F_UNCOLLAPSED		4 //UnCollapse frame
-#define F_LOCKED			8 //Lock Frame
-#define F_NOBORDER			16 //Dont apply WS_BORDER style for window
-#define F_SHOWTBTIP			32 //Show titlebar tooltip
-#define F_NO_SUBCONTAINER   1024    //Support skining no subcontainer needed
-#define F_SKINNED           2048    // skinned frame (for owned subframe only)
-#define F_UNICODE			32768 //Use unicode text
-#ifdef _UNICODE
-# define F_TCHAR			F_UNICODE
-#else
-# define F_TCHAR			0
-#endif
-
-// frame alignment
-#define alTop		0x00000001
-#define alBottom	0x00000002
-#define alClient	0x00000004 //only one alClient frame
-#define MS_CLIST_FRAMES_ADDFRAME			"CListFrames/AddFrame"
-
-#define MS_CLIST_FRAMES_REMOVEFRAME			"CListFrames/RemoveFrame"
-
-//shows all frames
-//wParam=lParam=0
-//returns 0 on success, -1 on failure
-#define MS_CLIST_FRAMES_SHOWALLFRAMES		"CListFrames/ShowALLFrames"
-
-//shows the titlebars of all frames
-//wParam=lParam=0
-//returns 0 on success, -1 on failure
-#define MS_CLIST_FRAMES_SHOWALLFRAMESTB		"CListFrames/ShowALLFramesTB"
-
-//hides the titlebars of all frames
-//wParam=lParam=0
-//returns 0 on success, -1 on failure
-#define MS_CLIST_FRAMES_HIDEALLFRAMESTB		"CListFrames/HideALLFramesTB"
-
-//shows the frame if it is hidden,
-//hides the frame if it is shown
-//wParam=FrameId
-//lParam=0
-//returns 0 on success, -1 on failure
-#define MS_CLIST_FRAMES_SHFRAME				"CListFrames/SHFrame"
-
-//shows the frame titlebar if it is hidden,
-//hides the frame titlebar if it is shown
-//wParam=FrameId
-//lParam=0
-//returns 0 on success, -1 on failure
-#define MS_CLIST_FRAMES_SHFRAMETITLEBAR		"CListFrame/SHFrameTitleBar"
-
-//locks the frame if it is unlocked,
-//unlock the frame if it is locked
-//wParam=FrameId
-//lParam=0
-//returns 0 on success, -1 on failure
-#define MS_CLIST_FRAMES_ULFRAME				"CListFrame/ULFrame"
- 
-//collapses the frame if it is uncollapsed,
-//uncollapses the frame if it is collapsed
-//wParam=FrameId
-//lParam=0
-//returns 0 on success, -1 on failure
-#define MS_CLIST_FRAMES_UCOLLFRAME			"CListFrame/UCOLLFrame"
-
-//trigger border flags
-//wparam=frameid
-//lparam=0
-#define MS_CLIST_FRAMES_SETUNBORDER			"CListFrame/SetUnBorder"
-
-//trigger skinned flags
-//wparam=frameid
-//lparam=0
-#define MS_CLIST_FRAMES_SETSKINNED			"CListFrame/SetSkinnedFrame"
-
-//redraws the frame
-//wParam=FrameId, -1 for all frames
-//lparam=FU_flags
-//returns a pointer to option, -1 on failure
-#define FU_TBREDRAW			1 //redraw titlebar
-#define FU_FMREDRAW			2 //redraw Frame
-#define FU_FMPOS			4 //update Frame position
-#define MS_CLIST_FRAMES_UPDATEFRAME			"CListFrame/UpdateFrame"
-
-//gets the frame options
-//(HIWORD)wParam=FrameId
-//(LOWORD)wParam=FO_flag
-//lParam=0
-//returns a pointer to option, -1 on failure
-#define FO_FLAGS		0x0001 //return set of F_VISIBLE,F_SHOWTB,F_UNCOLLAPSED,F_LOCKED,F_NOBORDER,F_SHOWTBTIP
-#define FO_NAME			0x0002 //Change name
-#define FO_TBNAME		0x0003 //Change TB caption
-#define FO_TBSTYLE		0x0004 //Change TB style
-#define FO_TBEXSTYLE	0x0005 //Change TB exstyle
-#define FO_ICON			0x0006 //Change icon
-#define FO_HEIGHT		0x0007 //Change height
-#define FO_ALIGN		0x0008 //Change align
-#define FO_TBTIPNAME	0x0009 //Change TB tooltip
-#define FO_FLOATING		0x000a //Change floating mode
-
-#define FO_UNICODETEXT	0x8000 // flag for	FO_NAME,FO_TBNAME, FO_TBTIPNAME set/get lPAram as unicode wchar_t
-#ifdef _UNICODE
-	#define FO_TCHAR FO_UNICODETEXT
-#else
-	#define FO_TCHAR 0x0000
-#endif
-
-#define MS_CLIST_FRAMES_GETFRAMEOPTIONS			"CListFrame/GetFrameOptions"
-
-//sets the frame options
-//(HIWORLD)wParam=FrameId
-//(LOWORD)wParam=FO_flag
-//lParam=value
-//returns 0 on success, -1 on failure
-#define MS_CLIST_FRAMES_SETFRAMEOPTIONS			"CListFrame/SetFrameOptions"
-
-
-//menu stuff
-
-//add a new item to the context frame menu
-//wParam=0
-//lParam=(LPARAM)(CLISTMENUITEM*)&mi
-//returns a handle to the new item
-//popupposition=frameid
-//contactowner=advanced parameter
-#define MS_CLIST_ADDCONTEXTFRAMEMENUITEM			"CList/AddContextFrameMenuItem"
-
-//remove a item from context frame menu
-//wParam=hMenuItem returned by MS_CLIST_ADDCONTACTMENUITEM
-//lParam=0
-//returns 0 on success, nonzero on failure
-#define MS_CLIST_REMOVECONTEXTFRAMEMENUITEM			"CList/RemoveContextFrameMenuItem"
-
-//builds the context menu for a frame
-//wparam=frameid
-//lParam=0
-//returns a HMENU on success, or NULL on failure
-#define MS_CLIST_MENUBUILDFRAMECONTEXT				"CList/BuildContextFrameMenu"
-
-/*
-//the frame menu is about to be built
-wparam=frameid
-lparam=
--1 for build from titlebar,
-		use
-					MS_CLIST_ADDCONTEXTFRAMEMENUITEM
-					MS_CLIST_REMOVECONTEXTFRAMEMENUITEM
-
->0 for build in main menu,
-must be popupname=lparam to place your items in right popup of main menu.
-		use
-					MS_CLIST_ADDMAINMENUITEM
-					MS_CLIST_REMOVEMAINMENUITEM
-
-*/
-#define ME_CLIST_PREBUILDFRAMEMENU					"CList/PreBuildFrameMenu"
-
-//needed by cluiframes module to add frames menu to main menu.
-//it just calls NotifyEventHooks(hPreBuildFrameMenuEvent,wParam,lParam);
-#define MS_CLIST_FRAMEMENUNOTIFY					"CList/ContextFrameMenuNotify"
diff --git a/protocols/weather/weather_10.sln b/protocols/weather/weather_10.sln
index 30e43d2cd6..038ac8b9a7 100644
--- a/protocols/weather/weather_10.sln
+++ b/protocols/weather/weather_10.sln
@@ -5,20 +5,20 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Weather", "weather_10.vcxpr
 EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug Unicode|Win32 = Debug Unicode|Win32
-		Debug Unicode|x64 = Debug Unicode|x64
-		Release Unicode|Win32 = Release Unicode|Win32
-		Release Unicode|x64 = Release Unicode|x64
+		Debug|Win32 = Debug|Win32
+		Debug|x64 = Debug|x64
+		Release|Win32 = Release|Win32
+		Release|x64 = Release|x64
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Debug Unicode|Win32.ActiveCfg = Debug Unicode|Win32
-		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Debug Unicode|Win32.Build.0 = Debug Unicode|Win32
-		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Debug Unicode|x64.ActiveCfg = Debug Unicode|x64
-		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Debug Unicode|x64.Build.0 = Debug Unicode|x64
-		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Release Unicode|Win32.ActiveCfg = Release Unicode|Win32
-		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Release Unicode|Win32.Build.0 = Release Unicode|Win32
-		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Release Unicode|x64.ActiveCfg = Release Unicode|x64
-		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Release Unicode|x64.Build.0 = Release Unicode|x64
+		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Debug|Win32.ActiveCfg = Debug|Win32
+		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Debug|Win32.Build.0 = Debug|Win32
+		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Debug|x64.ActiveCfg = Debug|x64
+		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Debug|x64.Build.0 = Debug|x64
+		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Release|Win32.ActiveCfg = Release|Win32
+		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Release|Win32.Build.0 = Release|Win32
+		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Release|x64.ActiveCfg = Release|x64
+		{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}.Release|x64.Build.0 = Release|x64
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
-- 
cgit v1.2.3