Code: Alles auswählen
#ifndef LYRICSPLUGININTERFACE_H
#define LYRICSPLUGININTERFACE_H
#include <QString>
class LyricsPluginInterface
{
public:
virtual ~LyricsPluginInterface();
virtual QString getDescription();
virtual QString getCredits();
virtual QString getLyrics(QString artist, QString album, QString song);
};
Q_DECLARE_INTERFACE(LyricsPluginInterface, "ch.favor-it.MMP.LyricsPluginInterface/1.0")
#endif // LYRICSPLUGININTERFACE_HZeile 15 bezieht sich auf die Zeile: "Q_DECLARE_INTERFACE(...)"..\MMP\/lyricsplugininterface.h:15: error: expected identifier before string constant
..\MMP\/lyricsplugininterface.h:15: error: expected ',' or '...' before string constant
..\MMP\/lyricsplugininterface.h:15: error: expected constructor, destructor, or type conversion at end of input
Ich habe absolut keine Idee, was da falsch sein könnte. hat jemand einen Tipp?
Danke schonmal, dusti