00001
00002
00003
00004
00005
00006
00007
#if ! H323_DISABLE_H4506
00008
00009
#ifndef __H4506_H
00010
#define __H4506_H
00011
00012
#ifdef P_USE_PRAGMA
00013
#pragma interface
00014
#endif
00015
00016
#include <ptclib/asner.h>
00017
00018
#include "h4501.h"
00019
#include "h4504.h"
00020
00021
00022
00023
00024
00025
00026 class H4506_CallWaitingOperations :
public PASN_Enumeration
00027 {
00028
#ifndef PASN_LEANANDMEAN
00029
PCLASSINFO(
H4506_CallWaitingOperations, PASN_Enumeration);
00030
#endif
00031
public:
00032
H4506_CallWaitingOperations(
unsigned tag = UniversalEnumeration, TagClass tagClass = UniversalTagClass);
00033
00034 enum Enumerations {
00035
e_callWaiting = 105
00036 };
00037
00038
H4506_CallWaitingOperations & operator=(
unsigned v);
00039 PObject *
Clone() const;
00040 };
00041
00042
00043
00044
00045
00046
00047 class
H4504_MixedExtension;
00048
00049 class
H4506_ArrayOf_MixedExtension : public PASN_Array
00050 {
00051
#ifndef PASN_LEANANDMEAN
00052
PCLASSINFO(
H4506_ArrayOf_MixedExtension, PASN_Array);
00053
#endif
00054
public:
00055
H4506_ArrayOf_MixedExtension(
unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
00056
00057 PASN_Object * CreateObject()
const;
00058 H4504_MixedExtension & operator[](PINDEX i)
const;
00059 PObject *
Clone()
const;
00060 };
00061
00062
00063
00064
00065
00066
00067 class H4506_CallWaitingArg :
public PASN_Sequence
00068 {
00069
#ifndef PASN_LEANANDMEAN
00070
PCLASSINFO(
H4506_CallWaitingArg,
PASN_Sequence);
00071
#endif
00072
public:
00073
H4506_CallWaitingArg(
unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
00074
00075 enum OptionalFields {
00076 e_nbOfAddWaitingCalls,
00077 e_extensionArg
00078 };
00079
00080 PASN_Integer m_nbOfAddWaitingCalls;
00081 H4506_ArrayOf_MixedExtension m_extensionArg;
00082
00083 PINDEX GetDataLength() const;
00084 BOOL Decode(PASN_Stream & strm);
00085
void Encode(PASN_Stream & strm) const;
00086 #ifndef PASN_NOPRINTON
00087
void PrintOn(ostream & strm) const;
00088 #endif
00089 Comparison Compare(const PObject & obj) const;
00090 PObject * Clone() const;
00091 };
00092
00093
00094 #endif
00095
00096 #endif
00097
00098
00099