#ifndef NID3_H
#define NID3_H

#include <noatun/player.h>
#include <noatun/plugin.h>
#include <noatun/pref.h>
#include <noatuntags/tags.h>

#include <tqobject.h>

class KFileMetaInfo;
class TDEAction;

class MetaTagLoader:public TQObject, public Tags, public Plugin {
  TQ_OBJECT
  
  public:
    MetaTagLoader();
    ~MetaTagLoader();

  public slots:
    bool update(PlaylistItem & item);
    void editTag();

  private:
    bool setProperty(KFileMetaInfo &info, PlaylistItem &item, const TQString &key, const TQString &property);
    int menuID;
	 TDEAction *mAction;
};

#endif
