Debian Codegraph @

include/dialogs/config/config_albumart.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2023 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_ALBUM_ART
14 #define H_FREAC_CONFIG_ALBUM_ART
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 namespace freac
20 {
21 class ConfigureAlbumArt : public BoCA::ConfigLayer
22 {
23 private:
24 GroupBox *group_albumart_tags;
25 CheckBox *check_albumart_read_tags;
26 CheckBox *check_albumart_write_tags;
27 ListBox *list_albumart_write_tags_format;
28
29 GroupBox *group_albumart_files;
30 CheckBox *check_albumart_read_files;
31 CheckBox *check_albumart_read_patterns;
32 EditBox *edit_albumart_read_patterns;
33 List *list_albumart_read_patterns;
34 Text *text_albumart_read_max;
35 Slider *slider_albumart_read_max;
36 Text *text_albumart_read_max_value;
37 CheckBox *check_albumart_write_files;
38 Text *text_albumart_write_files_name;
39 EditBox *edit_albumart_write_files_name;
40 CheckBox *check_albumart_write_files_ref;
41
42 Bool enableAlbumArtReadFromTags;
43 Bool enableAlbumArtWriteToTags;
44
45 Bool enableAlbumArtReadFromFiles;
46 Bool enableAlbumArtWriteToFiles;
47
48 Bool albumArtUsePatterns;
49 Int albumArtMaxFileSize;
50
51 Bool albumArtWriteRef;
52 slots:
53 Void ToggleReadAlbumArt();
54 Void ToggleWriteAlbumArt();
55 Void ToggleUsePatterns();
56
57 Void ChangeMaxAlbumArtSize(Int);
58 public:
59 ConfigureAlbumArt();
60 ~ConfigureAlbumArt();
61
62 Int SaveSettings();
63 };
64 };
65
66 #endif