#ifndef __GSK_STRINGIFY_H_
#define __GSK_STRINGIFY_H_

typedef struct _GskStringify GskStringify;
typedef struct _GskStringifyIface GskStringifyIface;

#include "gskinterface.h"

GskInterfaceType gsk_stringify_iface_get_type ();
#define GSK_TYPE_STRINGIFY_IFACE 		(gsk_stringify_iface_get_type ())
#define GSK_IS_STRINGIFY(obj)		GSK_INTERFACE_TEST (obj, GSK_TYPE_STRINGIFY_IFACE)
#define GSK_STRINGIFY(obj)		GSK_INTERFACE_CAST (GskStringify, obj, GSK_TYPE_STRINGIFY_IFACE)
#define GSK_STRINGIFY_GET_IFACE(obj)	GSK_INTERFACE_GET_IFACE (GskStringifyIface, obj, GSK_TYPE_STRINGIFY_IFACE)

struct _GskStringifyIface
{
  GskStringify *(*from_string)(const char       *text,
			       char            **err_msg);
  char         *(*to_string)  (GskStringify     *stringify);
};

#endif
