A
download otdialev.h
Language: C++
Copyright: (c) 1995-97 OpenComm do Brasil Ltda.
LOC: 33
Project Info
Open Telephony Server(opentel)
Server: SourceForge
Type: cvs
...el\server\drivers\dialogic\
   dialogic.dsp
   otdialap.cpp
   otdialap.h
   otdialar.cpp
   otdialar.h
   otdialdev.h
   otdialdrv.cpp
   otdialdrv.h
   otdialdti.cpp
   otdialdti.h
   otdialdxx.cpp
   otdialdxx.h
   otdialei.cpp
   otdialei.h
   otdialev.cpp
   otdialev.h
   otdialex.cpp
   otdialex.h
   otdialgc.cpp
   otdialgc.h
   otdialmsi.cpp
   otdialmsi.h
   otdialogic.cpp
   otdialogic.h
   otdialsc.cpp
   otdialsc.h
   otdialtd.cpp
   otdialtd.h
   otdialtg.cpp
   otdialtg.h

/*****************************************************************************
* OpenTel Telephony Server & Framework
* Copyright (c) 1995-97 OpenComm do Brasil Ltda.
* Todos os direitos reservados.
* Este arquivo contem material confidencial de OpenComm do Brasil, e deve
* darse tratamento como tal.
******************************************************************************/




#ifndef __OTDIALEV_H__
#define __OTDIALEV_H__

#include <otevent.includes>
#include <otmessage.includes>

class DllExport OtDialogicEvent : public OtEvent
//////////////////////////////////////
{
public:
        OtDialogicEvent();
        OtDialogicEvent( const OtObjectId& src, OtEventClass c );
        virtual ~OtDialogicEvent();

        enum { eventClass=0x00020000 };

private:
        int _type;                      // Event type
        int _devh;                      // Device Handler
        void *_datap;                   // Data void *
        int _len;                       // Data Len

public:
        int getDev(void) { return _devh; }
        int getDType(void) { return _type; } // There is a getType in the base class
        void *getDatap(void) { return _datap; }
        int getLen(void) { return _len; }

        OT_DECLARE_SERIAL(OtDialogicEvent);
};


class OtDlgMsg : public OtMessage
{
public:
        OtDlgMsg(OtEvent *e);
        virtual ~OtDlgMsg();

        OtEvent *getEv() const { return _ev; };

private:
        OtEvent *_ev;
};




#endif

About Koders | Resources | Downloads | Support | Black Duck | Terms of Service | DMCA | Privacy Policy | Contact Us