#include <proto/intuition.h>
#include <proto/graphics.h>
#include <proto/exec.h>

#include <libraries/mui.h>
#include <clib/muimaster_protos.h>

#include "protocol.h"
#include "hard.h"


struct MUITIList_Data
{
  char is_serial_reserved;

  char current_folder[MAX_NAMELENGTH+1];

  Variable vars[MAX_NBNAME];

  Object *app,*window;

};

#define MUIA_TIList_CurrentFolder           (TAG_USER|(667<<16)|0x0001)
#define MUIA_TIList_CurrentSelectedFolder   (TAG_USER|(667<<16)|0x0002)
#define MUIA_TIList_CurrentSelectedVar      (TAG_USER|(667<<16)|0x0003)
#define MUIA_TIList_ParentApp               (TAG_USER|(667<<16)|0x0004)
#define MUIA_TIList_ParentWindow            (TAG_USER|(667<<16)|0x0005)

#define MUIM_TIList_DoubleClick     (TAG_USER|(667<<16)|0x0001)
#define MUIM_TIList_ListFolders     (TAG_USER|(667<<16)|0x0002)
#define MUIM_TIList_ListVars        (TAG_USER|(667<<16)|0x0003)
#define MUIM_TIList_Update          (TAG_USER|(667<<16)|0x0004)
//ULONG __attribute__((regparm(3))) MUITIList_Dispatcher(struct IClass *cl , void *msg,Object *obj  );
ULONG __attribute__((regparm(3))) MUITIList_Dispatcher(struct IClass *cl ,  Msg msg,Object *obj  );


