00001 #ifndef LIST_H 00002 #define LIST_H 00003 00004 /** 00005 The class creates list of arbitrary items. Pointers to 00006 particular items are stored in the array of pointer data 00007 00008 Created by TKo, 09.2010 00009 */ 00010 class list 00011 { 00012 /// number of items 00013 long num; 00014 /// limit of array data 00015 long limit; 00016 /// array with pointers to particular items of the list 00017 void **data; 00018 00019 public: 00020 list(); 00021 ~list(); 00022 void append(void* p); 00023 void* at(long i); 00024 long count(); 00025 // void set_act(long i); 00026 // long get_act(); 00027 }; 00028 00029 #endif