root/trunk/libffado/src/libcontrol/Nickname.h

Revision 1498, 1.4 kB (checked in by ppalmers, 15 years ago)

Merge all changes from 2.0 branch into trunk (since r1361). This _should_ contain all forward merges done in the mean time. At this moment in time both branches should be in sync.

Line 
1 /*
2  * Copyright (C) 2005-2008 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  * This program 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) version 3 of the License.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
21  *
22  */
23
24 #ifndef CONTROL_NICKNAME_H
25 #define CONTROL_NICKNAME_H
26
27 #include "debugmodule/debugmodule.h"
28
29 #include "BasicElements.h"
30
31 #include <string>
32
33 class FFADODevice;
34
35 namespace Control {
36
37 /*!
38 @brief Nickname control element
39 @note this is a workaround and should be done more elegant
40
41 */
42 class Nickname : public Text
43 {
44 public:
45     Nickname(FFADODevice &);
46     virtual ~Nickname() {};
47
48     virtual bool setValue(std::string v);
49     virtual std::string getValue();
50
51     virtual bool canChangeValue();
52
53     virtual void show();
54
55 protected:
56     FFADODevice &m_Device;
57 };
58
59 }; // namespace Control
60
61 #endif // CONTROL_NICKNAME_H
Note: See TracBrowser for help on using the browser.