OPAL  Version 3.14.3
h460.h
Go to the documentation of this file.
1 /*
2  * h460.h
3  *
4  * Virteos H.460 Implementation for the h323plus Library.
5  *
6  * Virteos is a Trade Mark of ISVO (Asia) Pte Ltd.
7  *
8  * Copyright (c) 2004 ISVO (Asia) Pte Ltd. All Rights Reserved.
9  *
10  * The contents of this file are subject to the Mozilla Public License
11  * Version 1.1 (the "License"); you may not use this file except in
12  * compliance with the License. You may obtain a copy of the License at
13  * http://www.mozilla.org/MPL/
14  *
15  * Alternatively, the contents of this file may be used under the terms
16  * of the General Public License (the "GNU License"), in which case the
17  * provisions of GNU License are applicable instead of those
18  * above. If you wish to allow use of your version of this file only
19  * under the terms of the GNU License and not to allow others to use
20  * your version of this file under the MPL, indicate your decision by
21  * deleting the provisions above and replace them with the notice and
22  * other provisions required by the GNU License. If you do not delete
23  * the provisions above, a recipient may use your version of this file
24  * under either the MPL or the GNU License."
25  *
26  * Software distributed under the License is distributed on an "AS IS"
27  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
28  * the License for the specific language governing rights and limitations
29  * under the License.
30  *
31  * The Original Code is derived from and used in conjunction with the
32  * OpenH323 Project (www.openh323.org/)
33  *
34  * The Initial Developer of the Original Code is ISVO (Asia) Pte Ltd.
35  *
36  * Contributor(s): Many thanks to Simon Horne.
37  * Robert Jongbloed (robertj@voxlucida.com.au).
38  *
39  * $Revision: 30941 $
40  * $Author: rjongbloed $
41  * $Date: 2013-11-21 15:10:48 +1100 (Thu, 21 Nov 2013) $
42  */
43 
44 #ifndef OPAL_H460_H460_H
45 #define OPAL_H460_H460_H
46 
47 #ifdef P_USE_PRAGMA
48 #pragma interface
49 #endif
50 
51 #include <opal_config.h>
52 
53 #if OPAL_H460
54 
55 #include <h323/q931.h>
56 
58 {
59  public:
60  enum Code {
88  } m_code;
89 
90  H460_MessageType(Code code) : m_code(code) { }
91  H460_MessageType(Q931::MsgTypes code) : m_code((Code)(0x100|code)) { }
92 
93  operator Code() const { return m_code; }
94 
95 #if PTRACING
96  friend ostream & operator<<(ostream & strm, H460_MessageType pduType);
97 #endif
98 };
99 
100 #endif // OPAL_H460
101 
102 #endif // OPAL_H460_H460_H