sp-desc.h revision 5be4458b67cd4fa563753e5f373bb0b01c2d15e0
#ifndef __SP_DESC_H__
#define __SP_DESC_H__
/*
* SVG <desc> implementation
*
* Authors:
* Jeff Schiller <codedread@gmail.com>
*
* Copyright (C) 2008 Jeff Schiller
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "sp-object.h"
#define SP_TYPE_DESC (sp_desc_get_type ())
#define SP_IS_DESC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_DESC))
class SPDesc;
class SPDescClass;
class CDesc;
class SPDesc : public SPObject {
public:
CDesc* cdesc;
};
struct SPDescClass {
SPObjectClass parent_class;
};
class CDesc : public CObject {
public:
CDesc(SPDesc* desc);
virtual ~CDesc();
virtual Inkscape::XML::Node* onWrite(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags);
protected:
SPDesc* spdesc;
};
GType sp_desc_get_type (void);
#endif