Start working on a new implementation.
[laditools.git] / Laditools / controller_a2j.py
blobec98d177be8973b85cb958fc268d863792c69c53
1 #!/usr/bin/python
2 # LADITools - Linux Audio Desktop Integration Tools
3 # Copyright (C) 2011-2012 Alessio Treglia <quadrispro@ubuntu.com>
4 # Copyright (C) 2007-2010, Marc-Olivier Barre <marco@marcochapeau.org>
5 # Copyright (C) 2007-2009, Nedko Arnaudov <nedko@arnaudov.name>
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 from controller import LadiController
22 name_base = 'org.gna.home.a2jmidid'
23 iface_name = name_base + '.control'
24 service_name = name_base
25 obj_path = '/'
27 class A2jController(LadiController):
28 def __init__(self):
29 LadiController.__init__(self,
30 dbus_type='SessionBus',
31 service_name=service_name,
32 obj_path=obj_path,
33 iface_name=iface_name)