X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=endpointapp.h;fp=endpointapp.h;h=299633eb350e9e307ebacab203a3e4e68a440613;hp=0000000000000000000000000000000000000000;hb=2ed0fee489c37a6e2d4473f6185ebbe3e746ac11;hpb=1bf9bb306b9b92b50e56a2dcce131eb5e82e667a 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); +}; +