Debian Codegraph @

plugins/collab/core/account/xp/BackendPackets.cpp

raw
1 /*
2 * AbiCollab - Code to enable the modification of remote documents.
3 * Copyright (C) 2005 by Martin Sevior
4 * Copyright (C) 2006 by Marc Maurer <[email protected]>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 * 02110-1301 USA.
20 */
21
22 #include <string>
23 #include <vector>
24
25 #include <libxml/parser.h>
26 #include <libxml/tree.h>
27 #include <libxml/xmlreader.h>
28
29 #include "ut_vector.h"
30 #include "pd_Document.h"
31 #include "px_ChangeRecord.h"
32 #include "px_CR_SpanChange.h"
33 #include "px_CR_FmtMarkChange.h"
34 #include "px_CR_SpanChange.h"
35 #include "px_CR_FmtMark.h"
36 #include "px_CR_Span.h"
37 #include "px_CR_Glob.h"
38 #include "px_CR_StruxChange.h"
39 #include "px_CR_ObjectChange.h"
40 #include "px_CR_Strux.h"
41 #include "px_CR_Object.h"
42 #include "DocHandle.h"
43 #include <packet/xp/AbiCollab_Packet.h>
44 #include "Event.h"
45 #include "AccountEvent.h"
46 #include "SessionEvent.h"
47
48 REGISTER_PACKET(AccountNewEvent)
49 REGISTER_PACKET(AccountOnlineEvent)
50 REGISTER_PACKET(AccountOfflineEvent)
51 REGISTER_PACKET(AccountAddBuddyEvent)
52 REGISTER_PACKET(AccountDeleteBuddyEvent)
53 REGISTER_PACKET(AccountBuddyOnlineEvent)
54 REGISTER_PACKET(AccountBuddyOfflineEvent)
55 REGISTER_PACKET(AccountAddBuddyRequestEvent)
56 REGISTER_PACKET(AccountBuddyAddDocumentEvent)
57 REGISTER_PACKET(StartSessionEvent)
58 REGISTER_PACKET(GetSessionsEvent)
59 REGISTER_PACKET(GetSessionsResponseEvent)
60 REGISTER_PACKET(JoinSessionEvent)
61 REGISTER_PACKET(JoinSessionRequestEvent)
62 REGISTER_PACKET(JoinSessionRequestResponseEvent)
63 REGISTER_PACKET(DisjoinSessionEvent)
64 REGISTER_PACKET(CloseSessionEvent)