update copyright date to include 2002
[platform/upstream/flac.git] / src / plugin_winamp3 / cnv_flacpcm.h
1 /* FLAC input plugin for Winamp3\r
2  * Copyright (C) 2000,2001,2002  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  * NOTE: this code is derived from the 'rawpcm' example by\r
19  * Nullsoft; the original license for the 'rawpcm' example follows.\r
20  */\r
21 /*\r
22 \r
23   Nullsoft WASABI Source File License\r
24 \r
25   Copyright 1999-2001 Nullsoft, Inc.\r
26 \r
27     This software is provided 'as-is', without any express or implied\r
28     warranty.  In no event will the authors be held liable for any damages\r
29     arising from the use of this software.\r
30 \r
31     Permission is granted to anyone to use this software for any purpose,\r
32     including commercial applications, and to alter it and redistribute it\r
33     freely, subject to the following restrictions:\r
34 \r
35     1. The origin of this software must not be misrepresented; you must not\r
36        claim that you wrote the original software. If you use this software\r
37        in a product, an acknowledgment in the product documentation would be\r
38        appreciated but is not required.\r
39     2. Altered source versions must be plainly marked as such, and must not be\r
40        misrepresented as being the original software.\r
41     3. This notice may not be removed or altered from any source distribution.\r
42 \r
43 \r
44   Brennan Underwood\r
45   brennan@nullsoft.com\r
46 \r
47 */\r
48 \r
49 #ifndef _CNV_FLACPCM_H\r
50 #define _CNV_FLACPCM_H\r
51 \r
52 #include "studio/wac.h"\r
53 #include "common/rootcomp.h"\r
54 #include "attribs/cfgitemi.h"\r
55 #include "attribs/attrint.h"\r
56 \r
57 #define WACNAME WACcnv_flacpcm\r
58 \r
59 class WACNAME : public WAComponentClient, public CfgItemI {\r
60 public:\r
61         WACNAME();\r
62         virtual ~WACNAME();\r
63 \r
64         virtual const char *getName() { return "FLAC to PCM converter"; };\r
65         virtual GUID getGUID();\r
66 \r
67         virtual void onRegisterServices();\r
68         virtual void onDestroy();\r
69 \r
70         virtual int getDisplayComponent() { return FALSE; };\r
71 \r
72         virtual CfgItem *getCfgInterface(int n) { return this; }\r
73 };\r
74 \r
75 #endif\r