// placeholder stub for doc-tags
/**
*
* @module Interface
*/
/**
* Specification for the interface necessary to use with the StateManager system.
* Typically for UI controls etc.
* @class Franson.IStateful
*/
Franson.IStateful = function()
{
/**
* @type string
*/
this.id = 123;
};
Franson.IStateful.prototype =
{
/**
* @method _saveState
* @return {object} must be JSON-serializable.
*/
_saveState: function() // todo: remove underscore?
{
return {};
},
/**
* @method _restoreState
* @param {object} state (JSON-serializable)
*/
_restoreState: function(state) // todo: remove underscore?
{
}
};