93b1bfb955fce86f58b0116903ccb5e686fa6b3f
[platform/upstream/flac.git] / src / plugin_winamp2 / config.h
1 /* in_flac - Winamp2 FLAC input plugin\r
2  * Copyright (C) 2002,2003,2004  Josh Coalson\r
3  *\r
4  * This program is free software; you can redistribute it and/or\r
5  * modify it under the terms of the GNU General Public License\r
6  * as published by the Free Software Foundation; either version 2\r
7  * of the License, or (at your option) any later version.\r
8  *\r
9  * This program is distributed in the hope that it will be useful,\r
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
12  * GNU General Public License for more details.\r
13  *\r
14  * You should have received a copy of the GNU General Public License\r
15  * along with this program; if not, write to the Free Software\r
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
17  */\r
18 \r
19 #include "playback.h"\r
20 \r
21 /*\r
22  *  common stuff\r
23  */\r
24 \r
25 typedef struct {\r
26         struct {\r
27                 char tag_format[256];\r
28                 char sep[16];\r
29                 WCHAR *tag_format_w;\r
30         } title;\r
31         struct {\r
32                 BOOL reserve_space;\r
33         } tag;\r
34         struct {\r
35                 FLAC__bool show_bps;\r
36         } display;\r
37         output_config_t output;\r
38 } flac_config_t;\r
39 \r
40 extern flac_config_t flac_cfg;\r
41 \r
42 /*\r
43  *  prototypes\r
44  */\r
45 \r
46 void InitConfig();\r
47 void ReadConfig();\r
48 void WriteConfig();\r
49 int  DoConfig(HINSTANCE inst, HWND parent);\r