~ubuntu-branches/ubuntu/saucy/resiprocate/saucy-proposed

« back to all changes in this revision

Viewing changes to p2p/P2PSubsystem.hxx

  • Committer: Package Import Robot
  • Author(s): Daniel Pocock
  • Date: 2012-05-17 19:29:59 UTC
  • Revision ID: package-import@ubuntu.com-20120517192959-vv00m77isztdy64q
Tags: upstream-1.8.2
ImportĀ upstreamĀ versionĀ 1.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef P2P_SUBSYSTEM_HXX
 
2
#define P2P_SUBSYSTEM_HXX 
 
3
 
 
4
#include <iostream>
 
5
#include "rutil/Subsystem.hxx"
 
6
#include "rutil/Logger.hxx"
 
7
 
 
8
class P2PSubsystem : public resip::Subsystem
 
9
{
 
10
   public:
 
11
      static P2PSubsystem P2P;
 
12
 
 
13
   private:
 
14
      explicit P2PSubsystem(const char* rhs) : resip::Subsystem(rhs) {};
 
15
      explicit P2PSubsystem(const resip::Data& rhs);
 
16
      P2PSubsystem& operator=(const resip::Data& rhs);
 
17
};
 
18
 
 
19
#endif
 
20
 
 
21
 
 
22
/* ======================================================================
 
23
 *  Copyright (c) 2008, Various contributors to the Resiprocate project
 
24
 *  All rights reserved.
 
25
 *  
 
26
 *  Redistribution and use in source and binary forms, with or without
 
27
 *  modification, are permitted provided that the following conditions
 
28
 *  are met:
 
29
 *
 
30
 *      - Redistributions of source code must retain the above copyright
 
31
 *        notice, this list of conditions and the following disclaimer.
 
32
 *
 
33
 *      - Redistributions in binary form must reproduce the above
 
34
 *        copyright notice, this list of conditions and the following
 
35
 *        disclaimer in the documentation and/or other materials
 
36
 *        provided with the distribution.
 
37
 *
 
38
 *      - The names of the project's contributors may not be used to
 
39
 *        endorse or promote products derived from this software without
 
40
 *        specific prior written permission.
 
41
 *
 
42
 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 
43
 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 
44
 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 
45
 *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 
46
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 
47
 *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 
48
 *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 
49
 *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 
50
 *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 
51
 *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
 
52
 *  IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 
53
 *  THE POSSIBILITY OF SUCH DAMAGE.
 
54
 *====================================================================== */