diff options
Diffstat (limited to 'uisimulator/list.h')
-rw-r--r-- | uisimulator/list.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/uisimulator/list.h b/uisimulator/list.h deleted file mode 100644 index 91a85869bc..0000000000 --- a/uisimulator/list.h +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | #ifndef LIST_H | ||
2 | #define LIST_H | ||
3 | |||
4 | |||
5 | class ListWalk { | ||
6 | public: | ||
7 | ListWalk(class List *list); | ||
8 | void restart(); | ||
9 | |||
10 | void* getNext(); | ||
11 | |||
12 | private: | ||
13 | int index; | ||
14 | class List *list; | ||
15 | }; | ||
16 | |||
17 | class List { | ||
18 | friend ListWalk; | ||
19 | public: | ||
20 | List(); | ||
21 | |||
22 | void* getNext(void *); // next after this | ||
23 | |||
24 | int getSize(); | ||
25 | |||
26 | bool add(void *); | ||
27 | void *remove(void *); | ||
28 | |||
29 | private: | ||
30 | void **data; | ||
31 | int datasize; | ||
32 | |||
33 | int size; | ||
34 | |||
35 | }; | ||
36 | |||
37 | |||
38 | #endif // LIST_H | ||