Loading codec/c++/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -7,11 +7,11 @@ T3DK_C_SOURCES = $(wildcard *.c) T3DK_CXX_SOURCES = $(wildcard *.cpp) #T3DK_CDGEN_HEADER = c++/codet.h T3DK_CDGEN_HEADER = codec.h #T3DK_CODETS = c++/codet.cpp CPPFLAGS = -Ic++ -I/opt/boost-mingw/include CPPFLAGS = -I. -I/opt/boost-mingw/include CC = gcc Loading codec/c++/codec.h 0 → 100644 +37 −0 Original line number Diff line number Diff line #ifndef CODEC_INC #define CODEC_INC #include <t3devlib/t3devlib.h> namespace t3devlib { namespace gen { // enumerated types typedef t3devlib::Boolean FieldName; typedef t3devlib::Boolean Method; typedef t3devlib::Charstring CallidString; typedef t3devlib::Charstring ContentCoding; typedef t3devlib::Charstring DeltaSec; // an external operation can handle this field typedef t3devlib::Charstring LanguageTag; typedef t3devlib::Charstring OptionTag; typedef t3devlib::Charstring ServerVal; typedef t3devlib::Charstring PAssertedServiceValue; typedef t3devlib::Charstring PrivacyValue; typedef t3devlib::Charstring EventType; typedef t3devlib::Charstring SubState; typedef t3devlib::Charstring PMediaAuthValue; //HEXDIG "0"-"9", "A"-"F" typedef t3devlib::Charstring Raw; // ! subtype of structured types ! #define SDP_contact_tel SDP_contact #define SDP_contact_email SDP_contact #define PAssertedIDValue Addr_Union #define PPreferredIDValue Addr_Union typedef t3devlib::Undef XmlBody; }} //namespaces #endif // ----- #ifndef CODEC_INC ----- Loading
codec/c++/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -7,11 +7,11 @@ T3DK_C_SOURCES = $(wildcard *.c) T3DK_CXX_SOURCES = $(wildcard *.cpp) #T3DK_CDGEN_HEADER = c++/codet.h T3DK_CDGEN_HEADER = codec.h #T3DK_CODETS = c++/codet.cpp CPPFLAGS = -Ic++ -I/opt/boost-mingw/include CPPFLAGS = -I. -I/opt/boost-mingw/include CC = gcc Loading
codec/c++/codec.h 0 → 100644 +37 −0 Original line number Diff line number Diff line #ifndef CODEC_INC #define CODEC_INC #include <t3devlib/t3devlib.h> namespace t3devlib { namespace gen { // enumerated types typedef t3devlib::Boolean FieldName; typedef t3devlib::Boolean Method; typedef t3devlib::Charstring CallidString; typedef t3devlib::Charstring ContentCoding; typedef t3devlib::Charstring DeltaSec; // an external operation can handle this field typedef t3devlib::Charstring LanguageTag; typedef t3devlib::Charstring OptionTag; typedef t3devlib::Charstring ServerVal; typedef t3devlib::Charstring PAssertedServiceValue; typedef t3devlib::Charstring PrivacyValue; typedef t3devlib::Charstring EventType; typedef t3devlib::Charstring SubState; typedef t3devlib::Charstring PMediaAuthValue; //HEXDIG "0"-"9", "A"-"F" typedef t3devlib::Charstring Raw; // ! subtype of structured types ! #define SDP_contact_tel SDP_contact #define SDP_contact_email SDP_contact #define PAssertedIDValue Addr_Union #define PPreferredIDValue Addr_Union typedef t3devlib::Undef XmlBody; }} //namespaces #endif // ----- #ifndef CODEC_INC -----