// This file is generated by tdeconfig_compiler from kasteroids.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 Whether power upgrades can be shot.
    */
    static
    bool canDestroyPowerups()
    {
      return self()->mCanDestroyPowerups;
    }


    /**
      Get Whether power upgrades can be shot.
    */
    static
    bool showHiscores()
    {
      return self()->mShowHiscores;
    }


    /**
      Get The number of ships per game.
    */
    static
    int numShips()
    {
      return self()->mNumShips;
    }


    /**
      Get Whether to play sounds.
    */
    static
    bool playSounds()
    {
      return self()->mPlaySounds;
    }


    /**
      Get Sound to play when a ship gets destroyed.
    */
    static
    TQString soundShipDestroyed()
    {
      return self()->mSoundShipDestroyed;
    }


    /**
      Get Sound to play when a rock gets destroyed.
    */
    static
    TQString soundRockDestroyed()
    {
      return self()->mSoundRockDestroyed;
    }

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


    // Preferences
    bool mCanDestroyPowerups;
    bool mShowHiscores;
    int mNumShips;

    // Sounds
    bool mPlaySounds;
    TQString mSoundShipDestroyed;
    TQString mSoundRockDestroyed;

  private:
};

#endif

