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

Side by Side Diff: third_party/xmpp/module.h

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Restored includes in jingle/ as well Created 4 years 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
OLDNEW
(Empty)
1 // Copyright 2004 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBRTC_LIBJINGLE_XMPP_MODULE_H_
6 #define WEBRTC_LIBJINGLE_XMPP_MODULE_H_
7
8 #include "third_party/xmpp/xmppengine.h"
9
10 namespace buzz {
11
12 class XmppEngine;
13
14 //! This is the base class for extension modules.
15 //! An engine is registered with the module and the module then hooks the
16 //! appropriate parts of the engine to implement that set of features. It is
17 //! important to unregister modules before destructing the engine.
18 class XmppModule {
19 public:
20 virtual ~XmppModule() {}
21
22 //! Register the engine with the module. Only one engine can be associated
23 //! with a module at a time. This method will return an error if there is
24 //! already an engine registered.
25 virtual XmppReturnStatus RegisterEngine(XmppEngine* engine) = 0;
26 };
27
28 }
29 #endif // WEBRTC_LIBJINGLE_XMPP_MODULE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698