From f28e24c9bd6eb51e07fd4ce82acff8add913df91 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 19 Sep 2019 11:21:23 +0300 Subject: code cleaning --- plugins/ExternalAPI/m_ieview.h | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'plugins') diff --git a/plugins/ExternalAPI/m_ieview.h b/plugins/ExternalAPI/m_ieview.h index 4b197aca34..1e5e239892 100644 --- a/plugins/ExternalAPI/m_ieview.h +++ b/plugins/ExternalAPI/m_ieview.h @@ -22,12 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_IEVIEW_INCLUDED #define M_IEVIEW_INCLUDED -#define MS_IEVIEW_WINDOW "IEVIEW/NewWindow" -#define MS_IEVIEW_EVENT "IEVIEW/Event" -#define MS_IEVIEW_NAVIGATE "IEVIEW/Navigate" - -#define ME_IEVIEW_OPTIONSCHANGED "IEVIEW/OptionsChanged" - /* IEView window commands */ #define IEW_CREATE 1 // create new window (control) #define IEW_DESTROY 2 // destroy control @@ -53,9 +47,13 @@ struct IEVIEWWINDOW int y; // IE control vertical position int cx; // IE control horizontal size int cy; // IE control vertical size - }; +#define MS_IEVIEW_WINDOW "IEVIEW/NewWindow" + +///////////////////////////////////////////////////////////////////////////////////////// +// IEView events + #define IEEDF_UNICODE 0x00000001 // if set pszText is a pointer to wchar_t string instead of char string #define IEEDF_UNICODE_TEXT 0x00000001 // if set pszText is a pointer to wchar_t string instead of char string #define IEEDF_UNICODE_NICK 0x00000002 // if set pszNick is a pointer to wchar_t string instead of char string @@ -159,6 +157,10 @@ struct IEVIEWEVENT const char *pszProto; // Name of the protocol }; +#define MS_IEVIEW_EVENT "IEVIEW/Event" + +///////////////////////////////////////////////////////////////////////////////////////// + #define IEN_NAVIGATE 1 // navigate to the given destination #define IENF_UNICODE 1 // if set urlW is used instead of urlW @@ -170,5 +172,11 @@ struct IEVIEWNAVIGATE MAllCStrings url; // Text, usage depends on type of event }; +#define MS_IEVIEW_NAVIGATE "IEVIEW/Navigate" + +///////////////////////////////////////////////////////////////////////////////////////// + +#define ME_IEVIEW_OPTIONSCHANGED "IEVIEW/OptionsChanged" + #endif -- cgit v1.2.3