/* MusicInfo plugin for gaim Displays whatever is currently playing in Winamp or foobar2000 in the user's profile, away message, or available message in Gaim Written by Reuben Balik Copyright 2005, 2006 By Reuben Balik Please ask permission before using any of this code for any other project/product. This code/plugin is provided as-is with no warranty of any kind. Use at your own risk. Last Update: October 19, 2006 */ #ifndef MUSICINFO_H #define MUSICINFO_H #include "internal.h" #include "status.h" #include "connection.h" #include "signals.h" #include "version.h" #include "notify.h" #include "savedstatuses.h" #include #include static gboolean getSong(char* title, char* artist, int len); static gboolean replaceText(char* text, char* replaceStr, char* replaceWith, int max); static void hideBetween(char* text, char* startReplace, char* endReplace, int len); static gboolean getStatusText(char* text, gboolean* isAvail, GaimAccount *account, int len); static void updateInfo(GaimConnection *gc, char* prevInfo, char* prevStat, char* title, char* artist, gboolean isPlaying); static gboolean callUpdateInfo(); static void toggle_privacy(GaimPluginAction *action); #endif