1
0

id3_misc_support.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // The authors have released ID3Lib as Public Domain (PD) and claim no copyright,
  2. // patent or other intellectual property protection in this work. This means that
  3. // it may be modified, redistributed and used in commercial and non-commercial
  4. // software and hardware without restrictions. ID3Lib is distributed on an "AS IS"
  5. // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
  6. //
  7. // The ID3Lib authors encourage improvements and optimisations to be sent to the
  8. // ID3Lib coordinator, currently Dirk Mahoney ([email protected]). Approved
  9. // submissions may be altered, and will be included and released under these terms.
  10. //
  11. // Mon Nov 23 18:34:01 1998
  12. #ifndef ID3LIB_MISC_SUPPORT_H
  13. #define ID3LIB_MISC_SUPPORT_H
  14. #include <wchar.h>
  15. #include <string.h>
  16. #include "id3_types.h"
  17. #include "id3_tag.h"
  18. // in 'id3_misc_support.cpp'
  19. void ID3_AddTitle(ID3_Tag *tag, char *text);
  20. void ID3_AddTitle_Latin(ID3_Tag *tag, char *text);
  21. void ID3_AddArtist(ID3_Tag *tag, char *text);
  22. void ID3_AddArtist_Latin(ID3_Tag *tag, char *text);
  23. void ID3_AddAlbum(ID3_Tag *tag, char *text);
  24. void ID3_AddAlbum_Latin(ID3_Tag *tag, char *text);
  25. void ID3_AddLyrics(ID3_Tag *tag, char *text);
  26. int ID3_UnicodeToLocal(char *local, const wchar_t *unicode, luint len, int inLen=-1);
  27. int ID3_UnicodeToLatin(char *latin, const wchar_t *unicode, luint len, int inLen=-1);
  28. int ID3_UnicodeToUTF8(char *latin, const wchar_t *unicode, luint len, int inLen=-1);
  29. #endif