00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __LIST_H
00019 #define __LIST_H
00020
00021 #include "gui/components/window.h"
00022 #include "gui/components/component.h"
00023 #include "gui/components/frame.h"
00024
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #include "common/stdlib.h"
00029 }
00030 #else
00031 #include "common/stdlib.h"
00032 #endif
00033
00034 #define WIND_TYPE 1
00035 #define FRM_TYPE 2
00036 #define COMP_TYPE 3
00037
00038 void list_init();
00039
00040 SDW ladd(DW pid, DB type, void *ptr);
00041 SDW lremove(DW pid, DB type, DW index);
00042 void lremoveAll(DW pid);
00043 void* lfind(DW pid, DB type, DW index);
00044
00045 void printList(DW pid, DB type);
00046
00047 #endif