Debian Codegraph @

components/extension/tagedit/chooser/chooser.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_TAGEDIT_CHOOSER
14 #define H_TAGEDIT_CHOOSER
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 using namespace smooth;
20 using namespace smooth::GUI;
21
22 using namespace BoCA;
23
24 namespace BoCA
25 {
26 class Chooser : public Layer
27 {
28 public:
29 Chooser(const String &);
30 virtual ~Chooser();
31
32 Bool IsActiveChooser();
33
34 virtual Void ReselectEntry();
35 signals:
36 Signal1<Void, const Track &> onSelectTrack;
37 Signal1<Void, const Track &> onSelectAlbum;
38 Signal0<Void> onSelectNone;
39 callbacks:
40 Callback0<Bool> doReselectEntry;
41
42 Callback0<Bool> allowTrackChangeByArrowKey;
43 Callback0<Bool> allowTrackRemoveByDeleteKey;
44 slots:
45 Void OnChangeLanguageSettings();
46
47 virtual Void OnModifyTrack(const Track &);
48 };
49 };
50
51 #endif