#ifndef CUBEPERMANENT_H
#define CUBEPERMANENT_H

#include <cube.h>

/*!
\brief Primitive save/restore by writing the
 current state to a file cube.txt .
*/
class cubepermanent
{
  cube & cb;
public:

  /** By default the cubes state is loaded. */ 
  cubepermanent(cube & cb_);

  /** Load the saved state. */
  void load();

  /** Save the current cube state. */
  void save() const;
};


#endif



