summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_icqext.inc19
-rw-r--r--include/delphi/m_jabber.inc32
2 files changed, 51 insertions, 0 deletions
diff --git a/include/delphi/m_icqext.inc b/include/delphi/m_icqext.inc
new file mode 100644
index 0000000000..37336d863d
--- /dev/null
+++ b/include/delphi/m_icqext.inc
@@ -0,0 +1,19 @@
+ //auth
+ //db event added to NULL contact
+ //blob format is:
+ //ASCIIZ text
+ //DWORD uin
+ //HANDLE hContact
+ ICQEVENTTYPE_AUTH_GRANTED = 2004; //database event type
+ ICQEVENTTYPE_AUTH_DENIED = 2005; //database event type
+ ICQEVENTTYPE_SELF_REMOVE = 2007; //database event type
+ ICQEVENTTYPE_FUTURE_AUTH = 2008; //database event type
+ ICQEVENTTYPE_CLIENT_CHANGE = 2009; //database event type
+ ICQEVENTTYPE_CHECK_STATUS = 2010; //database event type
+ ICQEVENTTYPE_IGNORECHECK_STATUS = 2011;//database event type
+
+ //broadcast from server
+ //ASCIIZ text
+ //ASCIIZ from name
+ //ASCIIZ from e-mail
+ ICQEVENTTYPE_BROADCAST = 2006; //database event type
diff --git a/include/delphi/m_jabber.inc b/include/delphi/m_jabber.inc
new file mode 100644
index 0000000000..bbb051e203
--- /dev/null
+++ b/include/delphi/m_jabber.inc
@@ -0,0 +1,32 @@
+{
+Jabber Protocol Plugin for Miranda IM
+Copyright ( C ) 2002-04 Santithorn Bunchua
+Copyright ( C ) 2005-07 George Hazan
+Copyright ( C ) 2007 Maxim Mluhov
+
+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.
+}
+
+{$IFNDEF M_JABBER}
+{$DEFINE M_JABBER}
+
+const
+
+ // registered db event types
+ JABBER_DB_EVENT_TYPE_CHATSTATES = 2000;
+ JS_DB_GETEVENTTEXT_CHATSTATES = '/GetEventText2000';
+ JABBER_DB_EVENT_CHATSTATES_GONE = 1;
+
+{$ENDIF}