source: qutecom-coip/libs/wenbox/src/null/NullWenbox.cpp @ 126:e699782dd54b

Last change on this file since 126:e699782dd54b was 126:e699782dd54b, checked in by laurent, 3 years ago

update copyright

File size: 1.7 KB
Line 
1/*
2 * QuteCom, a voice over Internet phone
3 * Copyright (C) 2010 Mbdsys
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 */
19
20#include "NullWenbox.h"
21
22#include <util/StringList.h>
23
24IWenbox * getInstance() {
25        NullWenbox * wenbox = new NullWenbox();
26        return wenbox;
27}
28
29NullWenbox::NullWenbox() {
30}
31
32NullWenbox::~NullWenbox() {
33}
34
35void NullWenbox::setKeyPressedCallback(KeyPressedCallback keyPressedCallback, void * param) {
36}
37
38bool NullWenbox::open() {
39        return false;
40}
41
42bool NullWenbox::close() {
43        return false;
44}
45
46std::string NullWenbox::getDeviceName() {
47        return "NullWenbox";
48}
49
50std::list<std::string> NullWenbox::getAudioDeviceNameList() const {
51        StringList strList;
52        strList += "NullWenbox";
53        return strList;
54}
55
56bool NullWenbox::setDefaultMode(Mode mode) {
57        return false;
58}
59
60bool NullWenbox::switchMode(Mode mode) {
61        return false;
62}
63
64bool NullWenbox::setLCDMessage(const std::string & message) {
65        return false;
66}
67
68bool NullWenbox::setRingingTone(int tone) {
69        return false;
70}
71
72bool NullWenbox::setState(PhoneCallState state, const std::string & phoneNumber) {
73        return false;
74}
Note: See TracBrowser for help on using the repository browser.