// Beep Remote // // Douglas Thrift // // $Id$ #include #include "BeepRemote.hpp" template <> void BeepRemote::PlaylistAdd(const cse::String& item) { ::GList list = { const_cast(item.NullTerminate()), NULL, NULL }; ::xmms_remote_playlist_add(session, &list); } void BeepRemote::GetEqualizer(float& preamp, float bands[10]) const { float* bands_; ::xmms_remote_get_eq(session, &preamp, &bands_); ext::CopyAssign(bands, bands_, 10); ::g_free(bands_); }