32 #include <QSharedDataPointer>
35 namespace qutim_sdk_0_3
42 Q_CLASSINFO(
"Service",
"Sound")
46 virtual void playSound(
const QString &filename) = 0;
47 virtual QStringList supportedFormats() = 0;
49 virtual void virtual_hook(
int type,
void *data);
65 QString themeName()
const;
68 QSharedDataPointer<SoundThemeData>
d;
71 class SoundThemeProviderPrivate;
80 virtual QString themeName() = 0;
81 virtual bool saveTheme();
83 virtual void virtual_hook(
int type,
void *data);
84 QScopedPointer<SoundThemeProviderPrivate>
p;
100 static Sound *instance();
105 static void setTheme(
const QString &name);
108 void currentThemeChanged(
const QString &themeName);