Debian Codegraph @

components/extension/tagedit/chooser/chooser_tracks.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2018 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_TRACKS
14 #define H_TAGEDIT_CHOOSER_TRACKS
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 #include "chooser.h"
25
26 namespace BoCA
27 {
28 class ChooserTracks : public Chooser
29 {
30 private:
31 Array<Track> tracks;
32
33 ListBox *list_tracks;
34 DropArea *droparea_tracks;
35
36 Shortcut *shortcut_previous;
37 Shortcut *shortcut_next;
38 Shortcut *shortcut_first;
39 Shortcut *shortcut_last;
40 Shortcut *shortcut_remove;
41 slots:
42 Void OnApplicationAddTrack(const Track &);
43 Void OnApplicationModifyTrack(const Track &);
44 Void OnApplicationRemoveTrack(const Track &);
45 Void OnApplicationSelectTrack(const Track &);
46
47 Void OnApplicationRemoveAllTracks();
48
49 Void OnDropFiles(const Array<String> &);
50
51 Void OnSelectTrack();
52
53 Void OnShortcutPrevious();
54 Void OnShortcutNext();
55 Void OnShortcutFirst();
56 Void OnShortcutLast();
57 Void OnShortcutRemove();
58
59 Void OnChangeSize(const Size &);
60 Void OnChangeLanguageSettings();
61 public:
62 ChooserTracks();
63 ~ChooserTracks();
64
65 Void ReselectEntry();
66 };
67 };
68
69 #endif