#ifndef __GSK_VALIDATOR_H_
#define __GSK_VALIDATOR_H_

typedef struct _GskValidatorIface GskValidatorIface;

#include "gskinterface.h"

GskInterfaceType gsk_validator_iface_get_type ();
#define GSK_TYPE_VALIDATOR_IFACE        (gsk_validator_iface_get_type ())
#define GSK_IS_VALIDATOR(obj)           GSK_INTERFACE_TEST (obj, GSK_TYPE_VALIDATOR_IFACE)
#define GSK_VALIDATOR_GET_IFACE(obj)    GSK_INTERFACE_GET_IFACE (GskValidatorIface, obj, GSK_TYPE_VALIDATOR_IFACE)

struct _GskValidatorIface
{
  gboolean    (*validate)(GtkObject *,
                          char **message_out);
};


#endif
