libmpd-version.h | libmpd-version.h | |||
---|---|---|---|---|
skipping to change at line 21 | skipping to change at line 21 | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | * GNU General Public License for more details. | |||
* You should have received a copy of the GNU General Public License along | * You should have received a copy of the GNU General Public License along | |||
* with this program; if not, write to the Free Software Foundation, Inc., | * with this program; if not, write to the Free Software Foundation, Inc., | |||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |||
*/ | */ | |||
#ifndef LIBMPD_VERSION | #ifndef LIBMPD_VERSION | |||
#define LIBMPD_VERSION "0.19.0" | #define LIBMPD_VERSION "0.19.96" | |||
#define LIBMPD_MAJOR_VERSION (0) | #define LIBMPD_MAJOR_VERSION (0) | |||
#define LIBMPD_MINOR_VERSION (19) | #define LIBMPD_MINOR_VERSION (19) | |||
#define LIBMPD_MICRO_VERSION (0) | #define LIBMPD_MICRO_VERSION (96) | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
libmpd.h | libmpd.h | |||
---|---|---|---|---|
skipping to change at line 366 | skipping to change at line 366 | |||
MPD_CST_SERVER_ERROR = 0x40000, | MPD_CST_SERVER_ERROR = 0x40000, | |||
/** output changed */ | /** output changed */ | |||
MPD_CST_OUTPUT = 0x80000, | MPD_CST_OUTPUT = 0x80000, | |||
/** Sticker changed */ | /** Sticker changed */ | |||
MPD_CST_STICKER = 0x100000, | MPD_CST_STICKER = 0x100000, | |||
/** Next song changed */ | /** Next song changed */ | |||
MPD_CST_NEXTSONG = 0x200000, | MPD_CST_NEXTSONG = 0x200000, | |||
/** Single mode changed */ | /** Single mode changed */ | |||
MPD_CST_SINGLE_MODE = 0x400000, | MPD_CST_SINGLE_MODE = 0x400000, | |||
/** Consume mode changed */ | /** Consume mode changed */ | |||
MPD_CST_CONSUME_MODE = 0x800000 | MPD_CST_CONSUME_MODE = 0x800000, | |||
/** Replaygain mode changed */ | ||||
MPD_CST_REPLAYGAIN = 0x1000000 | ||||
} ChangedStatusType; | } ChangedStatusType; | |||
/* callback typedef's */ | /* callback typedef's */ | |||
/** | /** | |||
* @param mi a #MpdObj | * @param mi a #MpdObj | |||
* @param what a #ChangedStatusType that determines what changed triggered the signal. This is a bitmask. | * @param what a #ChangedStatusType that determines what changed triggered the signal. This is a bitmask. | |||
* @param userdata user data set when the signal handler was connected. | * @param userdata user data set when the signal handler was connected. | |||
* | * | |||
* Signal that gets called when the state of mpd has changed. Look #Changed StatusType to see the possible events. | * Signal that gets called when the state of mpd has changed. Look #Changed StatusType to see the possible events. | |||
*/ | */ | |||
skipping to change at line 598 | skipping to change at line 600 | |||
/** | /** | |||
* @param mi a #MpdObj | * @param mi a #MpdObj | |||
* @param tag a #mpd_TagItems | * @param tag a #mpd_TagItems | |||
* | * | |||
* Returns if mpd supports this tag. | * Returns if mpd supports this tag. | |||
* | * | |||
* return 1 if support 0 if not | * return 1 if support 0 if not | |||
*/ | */ | |||
int mpd_server_tag_supported(MpdObj *mi, int tag); | int mpd_server_tag_supported(MpdObj *mi, int tag); | |||
typedef enum { | ||||
MPD_SERVER_REPLAYGAIN_MODE_OFF = 0, | ||||
MPD_SERVER_REPLAYGAIN_MODE_TRACK = 1, | ||||
MPD_SERVER_REPLAYGAIN_MODE_ALBUM = 2 | ||||
}MpdServerReplaygainMode; | ||||
MpdServerReplaygainMode mpd_server_get_replaygain_mode(MpdObj *mi); | ||||
int mpd_server_set_replaygain_mode(MpdObj *mi, MpdServerReplaygainMode mode | ||||
); | ||||
#endif | #endif | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 14 lines changed or added | |||
libmpdclient.h | libmpdclient.h | |||
---|---|---|---|---|
skipping to change at line 695 | skipping to change at line 695 | |||
void mpd_sendGetEventsCommand(mpd_Connection *connection); | void mpd_sendGetEventsCommand(mpd_Connection *connection); | |||
char * mpd_getNextEvent(mpd_Connection *connection); | char * mpd_getNextEvent(mpd_Connection *connection); | |||
void mpd_sendListPlaylistsCommand(mpd_Connection * connection); | void mpd_sendListPlaylistsCommand(mpd_Connection * connection); | |||
/* Stickers*/ | /* Stickers*/ | |||
char * mpd_getNextSticker (mpd_Connection * connection); | char * mpd_getNextSticker (mpd_Connection * connection); | |||
void mpd_sendSetSongSticker(mpd_Connection *connection, const char *song, c onst char *sticker, const char *value); | void mpd_sendSetSongSticker(mpd_Connection *connection, const char *song, c onst char *sticker, const char *value); | |||
void mpd_sendGetSongSticker(mpd_Connection *connection, const char *song, const char *sticker); | void mpd_sendGetSongSticker(mpd_Connection *connection, const char *song, const char *sticker); | |||
void mpd_sendSetReplayGainMode(mpd_Connection *connection, const char *mode | ||||
); | ||||
void mpd_sendReplayGainModeCommand(mpd_Connection *connection); | ||||
char *mpd_getReplayGainMode(mpd_Connection *connection); | ||||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||