summaryrefslogtreecommitdiffstats
path: root/endpointapp.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 /endpointapp.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 'endpointapp.h')
-rw-r--r--endpointapp.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/endpointapp.h b/endpointapp.h
new file mode 100644
index 0000000..299633e
--- /dev/null
+++ b/endpointapp.h
@@ -0,0 +1,25 @@
+/*****************************************************************************\
+** **
+** PBX4Linux **
+** **
+**---------------------------------------------------------------------------**
+** Copyright: Andreas Eversberg **
+** **
+** EndpointApp header file **
+** **
+\*****************************************************************************/
+
+
+/* structure of an EndpointApp */
+class EndpointApp
+{
+ public:
+ EndpointApp(class Endpoint *epoint);
+ virtual ~EndpointApp();
+
+ class Endpoint *ea_endpoint;
+ virtual int handler(void);
+ virtual void ea_message_port(unsigned long port_id, int message, union parameter *param);
+ virtual void ea_message_call(unsigned long call_id, int message, union parameter *param);
+};
+