{-# LANGUAGE CPP #-} module Network.XMMS.Constants where import Foreign import Foreign.C.Types import Foreign.C.String #include #{enum CInt ,, typeNone = XMMSV_TYPE_NONE, typeError = XMMSV_TYPE_ERROR, typeInt32 = XMMSV_TYPE_INT32, typeString = XMMSV_TYPE_STRING, typeColl = XMMSV_TYPE_COLL, typeBin = XMMSV_TYPE_BIN, typeList = XMMSV_TYPE_LIST, typeDict = XMMSV_TYPE_DICT, typeEnd = XMMSV_TYPE_END } #{enum CInt ,, playbackSeekCur = XMMS_PLAYBACK_SEEK_CUR, playbackSeekSet = XMMS_PLAYBACK_SEEK_SET } #{enum CInt ,, playlistChangedAdd = XMMS_PLAYLIST_CHANGED_ADD, playlistChangedInsert = XMMS_PLAYLIST_CHANGED_INSERT, playlistChangedRemove = XMMS_PLAYLIST_CHANGED_REMOVE, playlistChangedClear = XMMS_PLAYLIST_CHANGED_CLEAR, playlistChangedMove = XMMS_PLAYLIST_CHANGED_MOVE, playlistChangedSort = XMMS_PLAYLIST_CHANGED_SORT, playlistChangedShuffle = XMMS_PLAYLIST_CHANGED_SHUFFLE, playlistChangedUpdate = XMMS_PLAYLIST_CHANGED_UPDATE }