libnjb.h | libnjb.h | |||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
* | * | |||
* <code> | * <code> | |||
* #include <libnjb.h> | * #include <libnjb.h> | |||
* </code> | * </code> | |||
*/ | */ | |||
#ifndef __LIBNJB__H | #ifndef __LIBNJB__H | |||
#define __LIBNJB__H | #define __LIBNJB__H | |||
/** The version of this installation of libnjb */ | /** The version of this installation of libnjb */ | |||
#define LIBNJB_VERSION 2.2.2 | #define LIBNJB_VERSION 2.2.3 | |||
/** A legacy definition - nowadays we always compile for libusb */ | /** A legacy definition - nowadays we always compile for libusb */ | |||
#define LIBNJB_COMPILED_FOR_LIBUSB 1 | #define LIBNJB_COMPILED_FOR_LIBUSB 1 | |||
/* This handles MSVC pecularities */ | /* This handles MSVC pecularities */ | |||
#ifdef _MSC_VER | #ifdef _MSC_VER | |||
#include <windows.h> | #include <windows.h> | |||
#define __WIN32__ | #define __WIN32__ | |||
#define snprintf _snprintf | #define snprintf _snprintf | |||
#define ssize_t SSIZE_T | #define ssize_t SSIZE_T | |||
#endif | #endif | |||
skipping to change at line 83 | skipping to change at line 83 | |||
#define NJB_DEVICE_NJB3 0x02 /**< Nomad Jukebox 3 */ | #define NJB_DEVICE_NJB3 0x02 /**< Nomad Jukebox 3 */ | |||
#define NJB_DEVICE_NJBZEN 0x03 /**< Nomad Jukebox Zen (with FireWire) */ | #define NJB_DEVICE_NJBZEN 0x03 /**< Nomad Jukebox Zen (with FireWire) */ | |||
#define NJB_DEVICE_NJBZEN2 0x04 /**< Nomad Jukebox Zen USB 2.0 */ | #define NJB_DEVICE_NJBZEN2 0x04 /**< Nomad Jukebox Zen USB 2.0 */ | |||
#define NJB_DEVICE_NJBZENNX 0x05 /**< Nomad Jukebox Zen NX */ | #define NJB_DEVICE_NJBZENNX 0x05 /**< Nomad Jukebox Zen NX */ | |||
#define NJB_DEVICE_NJBZENXTRA 0x06 /**< Nomad Jukebox Zen Xtra */ | #define NJB_DEVICE_NJBZENXTRA 0x06 /**< Nomad Jukebox Zen Xtra */ | |||
#define NJB_DEVICE_DELLDJ 0x07 /**< Dell Digital DJ "Dell DJ" */ | #define NJB_DEVICE_DELLDJ 0x07 /**< Dell Digital DJ "Dell DJ" */ | |||
#define NJB_DEVICE_NJBZENTOUCH 0x08 /**< Nomad Jukebox Zen Touch */ | #define NJB_DEVICE_NJBZENTOUCH 0x08 /**< Nomad Jukebox Zen Touch */ | |||
#define NJB_DEVICE_NJBZENMICRO 0x09 /**< Nomad Jukebox Zen Micro */ | #define NJB_DEVICE_NJBZENMICRO 0x09 /**< Nomad Jukebox Zen Micro */ | |||
#define NJB_DEVICE_DELLDJ2 0x0a /**< Second Generation Dell DJ */ | #define NJB_DEVICE_DELLDJ2 0x0a /**< Second Generation Dell DJ */ | |||
#define NJB_DEVICE_POCKETDJ 0x0b /**< Dell Pocket DJ */ | #define NJB_DEVICE_POCKETDJ 0x0b /**< Dell Pocket DJ */ | |||
#define NJB_DEVICE_ZENSLEEK 0x0c /**< Zen Sleek */ | ||||
/** @} */ | /** @} */ | |||
/** | /** | |||
* @defgroup frametypes Frame types for different song ID frames | * @defgroup frametypes Frame types for different song ID frames | |||
* @{ | * @{ | |||
*/ | */ | |||
#define NJB_TYPE_STRING 0x00 /**< A string type song ID fram e */ | #define NJB_TYPE_STRING 0x00 /**< A string type song ID fram e */ | |||
#define NJB_TYPE_UINT16 0x02 /**< An unsigned 16 bit integer type song ID frame */ | #define NJB_TYPE_UINT16 0x02 /**< An unsigned 16 bit integer type song ID frame */ | |||
#define NJB_TYPE_UINT32 0x03 /**< An unsigned 32 bit integer type song ID frame */ | #define NJB_TYPE_UINT32 0x03 /**< An unsigned 32 bit integer type song ID frame */ | |||
/** @} */ | /** @} */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||