Parent Directory
|
Revision Log
Work in progress.
1 /* 2 * This file is part of the Dialogic Woomera Server project. 3 * 4 * 5 * Copyright (C) 2009 Dialogic Corporation 6 * All Rights Reserved 7 * 8 */ 9 10 /*! 11 * \file interfacemanager.h 12 * \brief 13 * \author Antony Martin <antony.martin@dialogic.com> 14 * \version 30-March-2009 Prototype 15 */ 16 17 #ifndef _INTERFACEMANAGER_H 18 #define _INTERFACEMANAGER_H 19 20 21 /*! Interface Base Class 22 * 23 */ 24 class InterfaceManager 25 { 26 27 public: 28 29 /*! ctor 30 */ 31 InterfaceManager() {} 32 33 /*! dtor 34 */ 35 virtual ~InterfaceManager() {} 36 37 /*! Init all devices 38 * 39 */ 40 virtual bool init() = 0; 41 42 /*! Close all devices 43 * 44 */ 45 virtual void shutdown() = 0; 46 47 /*! Make a call 48 * 49 */ 50 virtual void makeCall() {} 51 52 /*! Hangup a call 53 * 54 */ 55 virtual void hangup() {} 56 57 /*! Seize 58 * 59 */ 60 virtual void seize() {} 61 62 /*! Accept call 63 * 64 */ 65 virtual void accept() {} 66 67 /*! Answer a call. 68 * \param ?? 69 */ 70 virtual void answer() {} 71 72 73 private: 74 75 76 }; 77 78 #endif // _INTERFACEMANAGER_H 79 80 81 /* vim:ts=4:set nu: 82 * EOF 83 */
| No admin address has been configured | ViewVC Help |
| Powered by ViewVC 1.0.8 |