Blame | Last modification | View Log | RSS feed
// Generated file, do not edit!
/*
For general Scribus (>=1.3.2) copyright and licensing information please refer
to the COPYING file provided with the program. Following this notice may exist
a copyright and/or license notice that predates the release of Scribus 1.3.2
for which a new license (GPL+exception) is in place.
*/
\#ifndef ${c.name.upper()}_H
\#define ${c.name.upper()}_H
\#ifdef HAVE_CONFIG_H
\#include "scconfig.h"
\#endif
\#include "../scribusapi.h"
#for $i in $c.includes
\#include ${i}
#end for
\#include "scribusIO.h"
#for $r in $c.classreferences
class ${r};
#end for
class SCRIBUS_API ${c.name} : public ScribusIO
{
// properties
public:
#for $a in $c.properties
${a.datatype} ${a.name};
#end for
public:
#for $a in $c.properties
#if $a.getter != ""
${a.datatype} ${a.getter}() const {
return ${a.name};
}
#end if
#if $a.setter != ""
void ${a.setter}(${a.datatype} val) {
${a.name} = val;
}
#end if
#end for
virtual void xmlIn(ScXmlStreamReader& r, ScribusBuilder& builder, const QString&);
virtual void xmlOut(ScXmlStreamWriter& w, const QString& xmlName) const;
};
\#endif