xref: /haiku/src/add-ons/media/plugins/ape_reader/LibMonkeysAudio/LibMonkeysAudio.cpp (revision b51fbe43f532ef73b4d3b772f60aace45765e54c)
1*b51fbe43SDavid McPaul #include <InterfaceDefs.h>
2*b51fbe43SDavid McPaul 
3*b51fbe43SDavid McPaul /*============================================================================*/
4*b51fbe43SDavid McPaul const char*	gAppName = "Lib Monkey's Audio";
5*b51fbe43SDavid McPaul const char*	gAppVer = "Ver 1.65";
6*b51fbe43SDavid McPaul const char*	gCright = "Copyright "B_UTF8_COPYRIGHT" 2003-2008 by SHINTA";
7*b51fbe43SDavid McPaul const char*	gOriginal = "MAC library Copyright "B_UTF8_COPYRIGHT" by Matthew T. Ashland";
8*b51fbe43SDavid McPaul const char*	gAppSignature = "application/x-vnd.SHINTA-LibMonkeysAudio";
9*b51fbe43SDavid McPaul /*============================================================================*/
10*b51fbe43SDavid McPaul 
11*b51fbe43SDavid McPaul /*=== Memo =====================================================================
12*b51fbe43SDavid McPaul ==============================================================================*/
13*b51fbe43SDavid McPaul 
14*b51fbe43SDavid McPaul //------------------------------------------------------------------------------
15*b51fbe43SDavid McPaul #include "LibMonkeysAudio.h"
16*b51fbe43SDavid McPaul //------------------------------------------------------------------------------
17*b51fbe43SDavid McPaul // BeOS
18*b51fbe43SDavid McPaul // C++
19*b51fbe43SDavid McPaul #include <string>
20*b51fbe43SDavid McPaul // Add2
21*b51fbe43SDavid McPaul //===========================================================================
22*b51fbe43SDavid McPaul CAPETag*	create_capetag_1(CIO* oIO, BOOL oAnalyze)
23*b51fbe43SDavid McPaul {
24*b51fbe43SDavid McPaul 	return new CAPETag(oIO, oAnalyze);
25*b51fbe43SDavid McPaul }
26*b51fbe43SDavid McPaul //------------------------------------------------------------------------------
27*b51fbe43SDavid McPaul CAPETag*	create_capetag_2(const char* oFilename, BOOL oAnalyze)
28*b51fbe43SDavid McPaul {
29*b51fbe43SDavid McPaul 	return new CAPETag(oFilename, oAnalyze);
30*b51fbe43SDavid McPaul }
31*b51fbe43SDavid McPaul //------------------------------------------------------------------------------
32*b51fbe43SDavid McPaul void	destroy_capetag(CAPETag* oAPETag)
33*b51fbe43SDavid McPaul {
34*b51fbe43SDavid McPaul 	delete oAPETag;
35*b51fbe43SDavid McPaul }
36*b51fbe43SDavid McPaul //------------------------------------------------------------------------------
37*b51fbe43SDavid McPaul const char*	lib_monkeys_audio_components()
38*b51fbe43SDavid McPaul {
39*b51fbe43SDavid McPaul 	return gOriginal;
40*b51fbe43SDavid McPaul }
41*b51fbe43SDavid McPaul //------------------------------------------------------------------------------
42*b51fbe43SDavid McPaul const char*	lib_monkeys_audio_copyright()
43*b51fbe43SDavid McPaul {
44*b51fbe43SDavid McPaul 	static string	saCright;
45*b51fbe43SDavid McPaul 
46*b51fbe43SDavid McPaul 	saCright = string(gCright)+"\n"+gOriginal;
47*b51fbe43SDavid McPaul 	return saCright.c_str();
48*b51fbe43SDavid McPaul }
49*b51fbe43SDavid McPaul //------------------------------------------------------------------------------
50*b51fbe43SDavid McPaul const char*	lib_monkeys_audio_name()
51*b51fbe43SDavid McPaul {
52*b51fbe43SDavid McPaul 	return gAppName;
53*b51fbe43SDavid McPaul }
54*b51fbe43SDavid McPaul //------------------------------------------------------------------------------
55*b51fbe43SDavid McPaul const char*	lib_monkeys_audio_version()
56*b51fbe43SDavid McPaul {
57*b51fbe43SDavid McPaul 	return gAppVer;
58*b51fbe43SDavid McPaul }
59*b51fbe43SDavid McPaul //===========================================================================
60