1
# +-----------------------------------------------------------------------------+
3
# +-----------------------------------------------------------------------------+
4
# | Copyright (c) Brett Smith <tanktarta@blueyonder.co.uk> |
6
# | This program is free software; you can redistribute it and/or |
7
# | modify it under the terms of the GNU General Public License |
8
# | as published by the Free Software Foundation; either version 2 |
9
# | of the License, or (at your option) any later version. |
11
# | This program is distributed in the hope that it will be useful, |
12
# | but WITHOUT ANY WARRANTY; without even the implied warranty of |
13
# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14
# | GNU General Public License for more details. |
16
# | You should have received a copy of the GNU General Public License |
17
# | along with this program; if not, write to the Free Software |
18
# | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19
# +-----------------------------------------------------------------------------+
22
import gnome15.g15locale as g15locale
23
_ = g15locale.get_translation("voip-mumble", modfile = __file__).ugettext
25
import gnome15.g15driver as g15driver
26
import gnome15.g15util as g15util
29
from threading import Thread
30
from threading import Lock
31
from threading import RLock
32
from threading import Semaphore
42
description=_("Provides integration with Mumble. Note, this plugin also\n\
43
requires the 'Voip' plugin as well which provides the user interface.")
44
author="Brett Smith <tanktarta@blueyonder.co.uk>"
45
copyright=_("Copyright (C)2011 Brett Smith")
46
site="http://www.gnome15.org/"
48
unsupported_models = [ g15driver.MODEL_G110, g15driver.MODEL_G11, g15driver.MODEL_G930, g15driver.MODEL_G35 ]
50
# This plugin only supplies classes to the 'voip' plugin and so is never activated
56
logger = logging.getLogger("voip-mumble")
59
Calendar Back-end module functions
63
return MumbleBackend()
69
class MumbleBackend(voip.VoipBackend):
72
voip.VoipBackend.__init__(self)
77
def start(self, plugin):
78
raise Exception("Not implemented")
81
raise Exception("Not implemented")
83
def get_current_channel(self):
85
Get the current channel
87
raise Exception("Not implemented")
89
def get_talking(self):
93
raise Exception("Not implemented")
97
Get the local user's buddy entry
99
raise Exception("Not implemented")
101
def get_channels(self):
102
raise Exception("Not implemented")
104
def get_buddies(self, current_channel=True):
105
raise Exception("Not implemented")
108
raise Exception("Not implemented")
110
def set_audio_input(self, mute):
111
raise Exception("Not implemented")
113
def set_audio_output(self, mute):
114
raise Exception("Not implemented")
117
raise Exception("Not implemented")
120
raise Exception("Not implemented")