1
0

config.h 860 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef _NULLSOFT_WINAMP_ML_DEVICES_CONFIG_HEADER
  2. #define _NULLSOFT_WINAMP_ML_DEVICES_CONFIG_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <wtypes.h>
  7. unsigned long
  8. Config_ReadString(const char *section,
  9. const char *key,
  10. const char *defaultValue,
  11. char *returnedStrign,
  12. unsigned long size);
  13. unsigned int
  14. Config_ReadInt(const char *section,
  15. const char *key,
  16. int defaultValue);
  17. BOOL
  18. Config_ReadBool(const char *section,
  19. const char *key,
  20. BOOL defaultValue);
  21. BOOL
  22. Config_WriteString(const char *section,
  23. const char *key,
  24. const char *value);
  25. BOOL
  26. Config_WriteInt(const char *section,
  27. const char *key,
  28. int value);
  29. BOOL
  30. Config_WriteBool(const char *section,
  31. const char *key,
  32. BOOL value);
  33. #endif // _NULLSOFT_WINAMP_ML_DEVICES_CONFIG_HEADER