root/trunk/libffado/tests/controlclient.h

Revision 582, 1.5 kB (checked in by ppalmers, 17 years ago)

see prev commit

Line 
1 /*
2  * Copyright (C) 2007 by Pieter Palmers
3  *
4  * This file is part of FFADO
5  * FFADO = Free Firewire (pro-)audio drivers for linux
6  *
7  * FFADO is based upon FreeBoB
8  *
9  * FFADO is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  * FFADO is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with FFADO; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21  * MA 02111-1307 USA.
22  *
23  */
24
25 #ifndef CONTROLCLIENT_H
26 #define CONTROLCLIENT_H
27
28 #include "debugmodule/debugmodule.h"
29
30 #include <dbus-c++/dbus.h>
31
32 #include "controlclient-glue.h"
33
34 static const char* SERVER_NAME = "org.ffado.Control";
35 static const char* SERVER_PATH = "/org/ffado/Control/Test/Fader";
36
37 namespace DBusControl {
38
39 // simple fader element
40 class ContinuousClient
41 : public org::ffado::Control::Element::Continuous,
42   public DBus::IntrospectableProxy,
43   public DBus::ObjectProxy
44 {
45 public:
46
47     ContinuousClient( DBus::Connection& connection, const char* path, const char* name );
48
49 private:
50     DECLARE_DEBUG_MODULE;
51 };
52
53 }
54
55 #endif //CONTROLCLIENT_H
56
Note: See TracBrowser for help on using the browser.