/[resiprocate]/branches/b-identity-0505/GenericContents.hxx
ViewVC logotype

Contents of /branches/b-identity-0505/GenericContents.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4598 - (show annotations) (download)
Wed May 11 22:53:07 2005 UTC (14 years, 6 months ago) by derek
File size: 3045 byte(s)
set svn:eol-style to LF
1 #if !defined(RESIP_GENERICCONTENTS_HXX)
2 #define RESIP_GENERICCONTENTS_HXX
3
4 #include "resiprocate/PlainContents.hxx"
5 #include "resiprocate/os/Data.hxx"
6
7 namespace resip
8 {
9
10 // Note: not added to ContentsFactory
11 class GenericContents : public PlainContents
12 {
13 public:
14 GenericContents();
15 GenericContents(const Data& text);
16 GenericContents(HeaderFieldValue* hfv, const Mime& contentType);
17 GenericContents(const Data& data, const Mime& contentType);
18 GenericContents(const GenericContents& rhs);
19 virtual ~GenericContents();
20 GenericContents& operator=(const GenericContents& rhs);
21
22 virtual Contents* clone() const;
23 };
24
25 }
26
27 #endif
28
29 /* ====================================================================
30 * The Vovida Software License, Version 1.0
31 *
32 * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
33 *
34 * Redistribution and use in source and binary forms, with or without
35 * modification, are permitted provided that the following conditions
36 * are met:
37 *
38 * 1. Redistributions of source code must retain the above copyright
39 * notice, this list of conditions and the following disclaimer.
40 *
41 * 2. Redistributions in binary form must reproduce the above copyright
42 * notice, this list of conditions and the following disclaimer in
43 * the documentation and/or other materials provided with the
44 * distribution.
45 *
46 * 3. The names "VOCAL", "Vovida Open Communication Application Library",
47 * and "Vovida Open Communication Application Library (VOCAL)" must
48 * not be used to endorse or promote products derived from this
49 * software without prior written permission. For written
50 * permission, please contact vocal@vovida.org.
51 *
52 * 4. Products derived from this software may not be called "VOCAL", nor
53 * may "VOCAL" appear in their name, without prior written
54 * permission of Vovida Networks, Inc.
55 *
56 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
57 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
58 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
59 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
60 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
61 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
62 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
63 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
64 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
65 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
66 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
67 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
68 * DAMAGE.
69 *
70 * ====================================================================
71 *
72 * This software consists of voluntary contributions made by Vovida
73 * Networks, Inc. and many individuals on behalf of Vovida Networks,
74 * Inc. For more information on Vovida Networks, Inc., please see
75 * <http://www.vovida.org/>.
76 *
77 */

Properties

Name Value
svn:eol-style LF

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27