summaryrefslogtreecommitdiffstats
path: root/h323_chan.h
diff options
context:
space:
mode:
authorSuper User2007-05-06 15:54:52 +0200
committerSuper User2007-05-06 15:54:52 +0200
commit2ed0fee489c37a6e2d4473f6185ebbe3e746ac11 (patch)
treefcf232bc282c083404cfde0ce5b04236fe202c3e /h323_chan.h
parentfirst commit (diff)
downloadlcr-2ed0fee489c37a6e2d4473f6185ebbe3e746ac11.tar.gz
lcr-2ed0fee489c37a6e2d4473f6185ebbe3e746ac11.tar.xz
lcr-2ed0fee489c37a6e2d4473f6185ebbe3e746ac11.zip
only for backup, still in coding state - no compile!!!
Diffstat (limited to 'h323_chan.h')
-rw-r--r--h323_chan.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/h323_chan.h b/h323_chan.h
new file mode 100644
index 0000000..0556574
--- /dev/null
+++ b/h323_chan.h
@@ -0,0 +1,34 @@
+///////////////////////////////////////////////////////////////////////////////
+// //
+// PBX4Linux //
+// //
+//---------------------------------------------------------------------------//
+// Copyright: Andreas Eversberg //
+// //
+// h323_chan header file //
+// //
+///////////////////////////////////////////////////////////////////////////////
+
+
+#ifndef H323_CHAN_HEADER
+#define H323_CHAN_HEADER
+
+class H323_chan : public PIndirectChannel
+{
+ public:
+ H323_chan(const PString &token, BOOL isEncoding);
+ ~H323_chan(void);
+ BOOL Close(void);
+ BOOL IsOpen(void) const;
+ BOOL Read(void *buf, PINDEX len);
+ BOOL Write(const void *buf, PINDEX len);
+
+ private:
+ PString d_token;
+ PTime start;
+ BOOL transfering;
+ PInt64 elapsed;
+};
+
+#endif
+