winamp/Src/id3v2/id3_misc_support.h

40 lines
1.4 KiB
C
Raw Permalink Normal View History

2024-09-24 13:54:57 +01:00
// The authors have released ID3Lib as Public Domain (PD) and claim no copyright,
// patent or other intellectual property protection in this work. This means that
// it may be modified, redistributed and used in commercial and non-commercial
// software and hardware without restrictions. ID3Lib is distributed on an "AS IS"
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
//
// The ID3Lib authors encourage improvements and optimisations to be sent to the
// ID3Lib coordinator, currently Dirk Mahoney (dirk@id3.org). Approved
// submissions may be altered, and will be included and released under these terms.
//
// Mon Nov 23 18:34:01 1998
#ifndef ID3LIB_MISC_SUPPORT_H
#define ID3LIB_MISC_SUPPORT_H
#include <wchar.h>
#include <string.h>
#include "id3_types.h"
#include "id3_tag.h"
// in 'id3_misc_support.cpp'
void ID3_AddTitle(ID3_Tag *tag, char *text);
void ID3_AddTitle_Latin(ID3_Tag *tag, char *text);
void ID3_AddArtist(ID3_Tag *tag, char *text);
void ID3_AddArtist_Latin(ID3_Tag *tag, char *text);
void ID3_AddAlbum(ID3_Tag *tag, char *text);
void ID3_AddAlbum_Latin(ID3_Tag *tag, char *text);
void ID3_AddLyrics(ID3_Tag *tag, char *text);
int ID3_UnicodeToLocal(char *local, const wchar_t *unicode, luint len, int inLen=-1);
int ID3_UnicodeToLatin(char *latin, const wchar_t *unicode, luint len, int inLen=-1);
int ID3_UnicodeToUTF8(char *latin, const wchar_t *unicode, luint len, int inLen=-1);
#endif