// This file is generated by tdeconfig_compiler from xinecfg.kcfg.
// All changes you do to this file will be lost.

#include "xinecfg.h"

#include <kstaticdeleter.h>

XineCfg *XineCfg::mSelf = 0;
static KStaticDeleter<XineCfg> staticXineCfgDeleter;

XineCfg *XineCfg::self()
{
  if ( !mSelf ) {
    staticXineCfgDeleter.setObject( mSelf, new XineCfg() );
    mSelf->readConfig();
  }

  return mSelf;
}

XineCfg::XineCfg(  )
  : TDEConfigSkeleton( TQString::fromLatin1( "amarokrc" ) )
{
  mSelf = this;
  setCurrentGroup( TQString::fromLatin1( "Xine-Engine" ) );

  TDEConfigSkeleton::ItemString  *itemOutputPlugin;
  itemOutputPlugin = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Output Plugin" ), mOutputPlugin, TQString::fromLatin1( "auto" ) );
  addItem( itemOutputPlugin, TQString::fromLatin1( "OutputPlugin" ) );
  TDEConfigSkeleton::ItemBool  *itemCustomDevice;
  itemCustomDevice = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Custom Device" ), mCustomDevice, false );
  addItem( itemCustomDevice, TQString::fromLatin1( "CustomDevice" ) );
}

XineCfg::~XineCfg()
{
  if ( mSelf == this )
    staticXineCfgDeleter.setObject( mSelf, 0, false );
}

