diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-01-15 13:31:31 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-01-19 15:12:57 -0500 |
commit | 36cef88d47b16887106cf13da9edea350ee208d2 (patch) | |
tree | 4d53a97ed4c054b1080141b10aee457de806d21c /apps/plugins/lib/mul_id3.h | |
parent | 6129bfbb95bc62836de461f1e792ac0316659617 (diff) | |
download | rockbox-36cef88d47b16887106cf13da9edea350ee208d2.tar.gz rockbox-36cef88d47b16887106cf13da9edea350ee208d2.zip |
PictureFlow: id3 functions refactoring
- Move multiple-id3 functionality into lib
- Extract retrieve_id3 function
In preparation for using these functions
from the Properties plugin.
Change-Id: I7252581340680e32df763f1f4b41646a055fe19e
Diffstat (limited to 'apps/plugins/lib/mul_id3.h')
-rw-r--r-- | apps/plugins/lib/mul_id3.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/plugins/lib/mul_id3.h b/apps/plugins/lib/mul_id3.h new file mode 100644 index 0000000000..71da10e87e --- /dev/null +++ b/apps/plugins/lib/mul_id3.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2023 Christian Soffke | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | #ifndef MUL_ID3_H | ||
22 | #define MUL_ID3_H | ||
23 | |||
24 | void init_mul_id3(void); | ||
25 | void collect_id3(struct mp3entry *id3, bool is_first_track); | ||
26 | void write_id3_mul_tracks(struct mp3entry *id3); | ||
27 | |||
28 | #endif /* MUL_ID3_H */ \ No newline at end of file | ||