Debian Codegraph @

include/dialogs/config/configentry.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2016 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #ifndef H_FREAC_CONFIG_DLG_ENTRY
14 #define H_FREAC_CONFIG_DLG_ENTRY
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 namespace freac
20 {
21 class ConfigEntry : public ListEntry
22 {
23 private:
24 BoCA::ConfigLayer *layer;
25 public:
26 ConfigEntry(const String &, BoCA::ConfigLayer *);
27 ~ConfigEntry();
28 accessors:
29 BoCA::ConfigLayer *GetLayer() { return layer; }
30 Void SetLayer(BoCA::ConfigLayer *nLayer) { layer = nLayer; }
31 slots:
32 Void OnSelect();
33 signals:
34 Signal1<Void, BoCA::ConfigLayer *> onChangeLayer;
35 };
36 };
37
38 #endif