only for backup, still in coding state - no compile!!!
[lcr.git] / h323_chan.h
diff --git a/h323_chan.h b/h323_chan.h
new file mode 100644 (file)
index 0000000..0556574
--- /dev/null
@@ -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
+