diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-19 11:21:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-19 11:21:23 +0300 |
commit | f28e24c9bd6eb51e07fd4ce82acff8add913df91 (patch) | |
tree | 957e584d26c583a5e69063768dff73fa3ed4e769 /plugins | |
parent | 577a5e829c5f8b6f230239ac36be899f78b677db (diff) |
code cleaning
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ExternalAPI/m_ieview.h | 22 |
1 files changed, 15 insertions, 7 deletions
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
|