namespace MoreMountains.Tools
{
///
/// An interface classes that want to be saved by the MMPersistencyManager need to implement
///
public interface IMMPersistent
{
///
/// Needs to return a unique Guid used to identify this object
///
///
string GetGuid();
///
/// Returns a savable string containing the object's data
///
///
string OnSave();
///
/// Loads the object's data from the passed string and applies it to its properties
///
///
void OnLoad(string data);
///
/// Whether or not this object should be saved
///
///
bool ShouldBeSaved();
}
}