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

#include <tdeconfigskeleton.h>
#include <kdebug.h>

class XineCfg : public TDEConfigSkeleton
{
  public:

    static XineCfg *self();
    ~XineCfg();

    /**
      Set Sound output method to use
    */
    static
    void setOutputPlugin( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "OutputPlugin" ) ))
        self()->mOutputPlugin = v;
    }

    /**
      Get Sound output method to use
    */
    static
    TQString outputPlugin()
    {
      return self()->mOutputPlugin;
    }

    /**
      Set Enable a custom device
    */
    static
    void setCustomDevice( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "CustomDevice" ) ))
        self()->mCustomDevice = v;
    }

    /**
      Get Enable a custom device
    */
    static
    bool customDevice()
    {
      return self()->mCustomDevice;
    }

    static
    void writeConfig()
    {
      static_cast<TDEConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    XineCfg();
    static XineCfg *mSelf;


    // Xine-Engine
    TQString mOutputPlugin;
    bool mCustomDevice;

  private:
};

#endif

