//
// C:\www\wonderlamp\js\cobject.js
// Classe CObject, ancêtre.
// 
// Création 31/01/2005
// Révision 14/08/2005
// 19/06/2005 : Implantation d'un n° de version
// 14/08/2005 : Implantation d'un summary et d'un memo
function CObject(aclassname)
{
this.classname = aclassname;
this.version = "1.03";
this.maj = "14/08/2005";
this.summary = "Ancêtre commun des objets WonderLamp JavaScript";
this.memo = "Rôle : Proposer des fonctionnalités (version, maj... ) aux classes dérivant de cet objet";

	this.get_class = CObject_get_class;
	this.set_summary = CObject_set_summary;
	this.get_summary = CObject_get_summary;
	this.set_memo = CObject_set_memo;
	this.get_memo = CObject_get_memo;
	this.set_version = CObject_set_version;
	this.get_version = CObject_get_version;
	this.get_maj = CObject_get_maj;
}

function CObject_get_class()
{
	return this.classname;
}

function CObject_set_version(aversion)
{
	this.version = aversion;
}

function CObject_get_version()
{
	return this.version;
}

function CObject_set_summary(asummary)
{
	this.summary = asummary;
}

function CObject_get_summary()
{
	return this.summary;
}

function CObject_set_memo(amemo)
{
	this.memo = amemo;
}

function CObject_get_memo()
{
	return this.memo;
}

// Rendre la date de mise à jour
function CObject_get_maj()
{
	return this.maj;
}