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

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

class Settings : public TDEConfigSkeleton
{
  public:

    static Settings *self();
    ~Settings();


    /**
      Get Constant Bitrate
    */
    static
    bool bitrate_constant()
    {
      return self()->mBitrate_constant;
    }


    /**
      Get Variable Bitrate
    */
    static
    bool bitrate_variable()
    {
      return self()->mBitrate_variable;
    }


    /**
      Get Stereo Mode
    */
    static
    int stereo()
    {
      return self()->mStereo;
    }


    /**
      Get Quality
    */
    static
    int quality()
    {
      return self()->mQuality;
    }


    /**
      Get Copyrighted
    */
    static
    bool copyright()
    {
      return self()->mCopyright;
    }


    /**
      Get Original
    */
    static
    bool original()
    {
      return self()->mOriginal;
    }


    /**
      Get ISO Encoding
    */
    static
    bool iso()
    {
      return self()->mIso;
    }


    /**
      Get Error protection
    */
    static
    bool crc()
    {
      return self()->mCrc;
    }


    /**
      Get Write ID3 Tag
    */
    static
    bool id3_tag()
    {
      return self()->mId3_tag;
    }


    /**
      Get Constant Bitrate Settings
    */
    static
    int cbr_bitrate()
    {
      return self()->mCbr_bitrate;
    }


    /**
      Get Minimal bitrate
    */
    static
    bool vbr_min_br()
    {
      return self()->mVbr_min_br;
    }


    /**
      Get Minimal Value is a hard limit
    */
    static
    bool vbr_min_hard()
    {
      return self()->mVbr_min_hard;
    }


    /**
      Get Maximal bitrate
    */
    static
    bool vbr_max_br()
    {
      return self()->mVbr_max_br;
    }


    /**
      Get Average bitrate
    */
    static
    bool vbr_average_br()
    {
      return self()->mVbr_average_br;
    }


    /**
      Get Write Xing VBR tag
    */
    static
    bool vbr_xing_tag()
    {
      return self()->mVbr_xing_tag;
    }


    /**
      Get Minimal bitrate value
    */
    static
    int vbr_min_brate()
    {
      return self()->mVbr_min_brate;
    }


    /**
      Get Maximal bitrate value
    */
    static
    int vbr_max_brate()
    {
      return self()->mVbr_max_brate;
    }


    /**
      Get Average bitrate value
    */
    static
    int vbr_mean_brate()
    {
      return self()->mVbr_mean_brate;
    }


    /**
      Get Lowpass filter cutoff above
    */
    static
    bool enable_lowpass()
    {
      return self()->mEnable_lowpass;
    }


    /**
      Get Lowpass filter cutoff above Value
    */
    static
    int lowfilterfreq()
    {
      return self()->mLowfilterfreq;
    }


    /**
      Get Highpass filter cutoff above
    */
    static
    bool enable_highpass()
    {
      return self()->mEnable_highpass;
    }


    /**
      Get Highpass filter cutoff above Value
    */
    static
    int highfilterfreq()
    {
      return self()->mHighfilterfreq;
    }


    /**
      Get Lowpass filter width
    */
    static
    bool set_lpf_width()
    {
      return self()->mSet_lpf_width;
    }


    /**
      Get Lowpass filter width value
    */
    static
    int lowfilterwidth()
    {
      return self()->mLowfilterwidth;
    }


    /**
      Get Highpass filter width
    */
    static
    bool set_hpf_width()
    {
      return self()->mSet_hpf_width;
    }


    /**
      Get Highpass filter width
    */
    static
    int highfilterwidth()
    {
      return self()->mHighfilterwidth;
    }

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


    // Lame
    bool mBitrate_constant;
    bool mBitrate_variable;
    int mStereo;
    int mQuality;
    bool mCopyright;
    bool mOriginal;
    bool mIso;
    bool mCrc;
    bool mId3_tag;
    int mCbr_bitrate;
    bool mVbr_min_br;
    bool mVbr_min_hard;
    bool mVbr_max_br;
    bool mVbr_average_br;
    bool mVbr_xing_tag;
    int mVbr_min_brate;
    int mVbr_max_brate;
    int mVbr_mean_brate;
    bool mEnable_lowpass;
    int mLowfilterfreq;
    bool mEnable_highpass;
    int mHighfilterfreq;
    bool mSet_lpf_width;
    int mLowfilterwidth;
    bool mSet_hpf_width;
    int mHighfilterwidth;

  private:
};

#endif

