From 2ed0fee489c37a6e2d4473f6185ebbe3e746ac11 Mon Sep 17 00:00:00 2001 From: Super User Date: Sun, 6 May 2007 15:54:52 +0200 Subject: only for backup, still in coding state - no compile!!! --- endpointapp.cpp | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 endpointapp.cpp (limited to 'endpointapp.cpp') diff --git a/endpointapp.cpp b/endpointapp.cpp new file mode 100644 index 0000000..3e1a6b9 --- /dev/null +++ b/endpointapp.cpp @@ -0,0 +1,49 @@ +/*****************************************************************************\ +** ** +** PBX4Linux ** +** ** +**---------------------------------------------------------------------------** +** Copyright: Andreas Eversberg ** +** ** +** The EndpointApp represents the application for the Endpoint. ** +** ** +\*****************************************************************************/ + + +#include +#include "main.h" + +/* + * EndpointApp constructor + */ +EndpointApp::EndpointApp(class Endpoint *epoint) +{ + ea_endpoint = epoint; + classuse++; +} + +/* + * endpoint destructor + */ +EndpointApp::~EndpointApp(void) +{ + classuse--; +} + +int EndpointApp::handler(void) +{ + return(0); +} + +/* mini application for test purpose only */ + +void EndpointApp::ea_message_port(unsigned long port_id, int message_type, union parameter *param) +{ + PDEBUG(DEBUG_EPOINT, "%s: Spare function.\n", __FUNCTION__); +} + +void EndpointApp::ea_message_call(unsigned long port_id, int message_type, union parameter *param) +{ + PDEBUG(DEBUG_EPOINT, "%s: Spare function.\n", __FUNCTION__); +} + -- cgit v1.2.3-55-g7522