~ubuntu-branches/ubuntu/vivid/gloox/vivid-proposed

« back to all changes in this revision

Viewing changes to src/jingletransport.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-03-16 17:34:43 UTC
  • mfrom: (12.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20140316173443-4s177dovzaz5dm8o
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Copyright (c) 2008-2013 by Jakob Schroeter <js@camaya.net>
 
3
  This file is part of the gloox library. http://camaya.net/gloox
 
4
 
 
5
  This software is distributed under a license. The full license
 
6
  agreement can be found in the file LICENSE in this distribution.
 
7
  This software may not be copied, modified, sold or distributed
 
8
  other than expressed in the named license agreement.
 
9
 
 
10
  This software is distributed without any warranty.
 
11
*/
 
12
 
 
13
 
 
14
#ifndef JINGLETRANSPORT_H__
 
15
#define JINGLETRANSPORT_H__
 
16
 
 
17
#include "jingleplugin.h"
 
18
 
 
19
#include <string>
 
20
 
 
21
namespace gloox
 
22
{
 
23
 
 
24
  namespace Jingle
 
25
  {
 
26
 
 
27
    /**
 
28
     * @brief An abstract base class of a Jingle Transport. This is part of Jingle (@xep{0166}).
 
29
     *
 
30
     * You should not need to use this class directly unless you are extending gloox. See
 
31
     * @link gloox::Jingle::Session Jingle::Session @endlink for more info on Jingle.
 
32
     *
 
33
     * XEP Version: 1.1
 
34
     *
 
35
     * @author Jakob Schroeter <js@camaya.net>
 
36
     * @since 1.0.5
 
37
     */
 
38
    class Transport : public Plugin
 
39
    {
 
40
      public:
 
41
        /**
 
42
         * Virtual destructor.
 
43
         */
 
44
        virtual ~Transport() {}
 
45
 
 
46
      protected:
 
47
        /** The Transport's namespace. */
 
48
//         const std::string m_xmlns;
 
49
 
 
50
    };
 
51
 
 
52
  }
 
53
 
 
54
}
 
55
 
 
56
#endif // JINGLETRANSPORT_H__