
#ifndef MYSERVER_H_
#define MYSERVER_H_

#include <libgnome/gnome-defs.h>
#include <bonobo/bonobo-xobject.h>

#include "iface.h"

BEGIN_GNOME_DECLS
#define MYSERVER_TYPE        (myserver_get_type ())
#define MYSERVER(o)          (GTK_CHECK_CAST ((o), MYSERVER_TYPE, MyServer))
#define MYSERVER_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), MYSERVER_TYPE, MyServerClass))
#define IS_MYSERVER(o)       (GTK_CHECK_TYPE ((o), MYSERVER_TYPE))
#define IS_MYSERVER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), MYSERVER_TYPE))

typedef struct {
    BonoboXObject parent;

    /*****************************************************************
     * Most of the structure of this file is 'mandatory', in that 
     * you must have it in order to make things work.  However,
     * the rest of this struct is complete up to you to modify, play
     * with, etc. as desired.
     ****************************************************************/
    char *my_instance_data;
} MyServer;

typedef struct {
    BonoboXObjectClass  parent_class;
    POA_Bonobo_Dasample_MyServer__epv epv;
} MyServerClass;

GtkType        myserver_get_type (void);
MyServer *     myserver_new (void);

END_GNOME_DECLS
#endif /* MYSERVER_H_ */



