3 #include "properties.h"
5 Property::Property(char *p, char *v) : ListItem<Property>()
7 property = new char[strlen(p) + 1];
8 value = new char[strlen(v) + 1];
19 char *Property::getProperty()
24 char *Property::getValue()
29 void Property::setValue(char *v)
32 value = new char[strlen(v) + 1];
37 Properties::Properties() : List<Property>()
41 Properties::~Properties()
45 Property *Properties::get(char *property)
48 for (current = first; current; current = NEXT)
50 if (!strcmp(property, current->getProperty()))