

#ifndef _WOB_INC
#define _WOB_INC


#include "obj.h"
#include "cons.h"
#include "win_dep.h"
#include "string.h"
#include "widgetclass.h"

#define MAXWOBNAME 50

typedef struct wob_s {
  LLIS_OBJECT;

  WinStruct win;
  LLWidgetClass* type;

  struct wob_s* parent;
  LLCons* children;

  LLString* name;
  void* extra;
} Wob;

extern LLTag llwob_t;

void wob_ll_init();
#define wob2widget(wob) wob->win.widget

#endif
