Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: webrtc/libjingle/xmpp/module.h

Issue 2617443003: Remove webrtc/libjingle/{xmllite,xmpp} (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/libjingle/xmpp/jid_unittest.cc ('k') | webrtc/libjingle/xmpp/moduleimpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_LIBJINGLE_XMPP_MODULE_H_
12 #define WEBRTC_LIBJINGLE_XMPP_MODULE_H_
13
14 #include "webrtc/libjingle/xmpp/xmppengine.h"
15
16 namespace buzz {
17
18 class XmppEngine;
19
20 //! This is the base class for extension modules.
21 //! An engine is registered with the module and the module then hooks the
22 //! appropriate parts of the engine to implement that set of features. It is
23 //! important to unregister modules before destructing the engine.
24 class XmppModule {
25 public:
26 virtual ~XmppModule() {}
27
28 //! Register the engine with the module. Only one engine can be associated
29 //! with a module at a time. This method will return an error if there is
30 //! already an engine registered.
31 virtual XmppReturnStatus RegisterEngine(XmppEngine* engine) = 0;
32 };
33
34 }
35 #endif // WEBRTC_LIBJINGLE_XMPP_MODULE_H_
OLDNEW
« no previous file with comments | « webrtc/libjingle/xmpp/jid_unittest.cc ('k') | webrtc/libjingle/xmpp/moduleimpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698