Differences From Artifact [52cc35da36]:
- File
src/OFXMLElement.h
— part of check-in
[37db8f0fb3]
at
2010-04-17 22:27:17
on branch trunk
— New ivar naming convention.
ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. (user: js, size: 4056) [annotate] [blame] [check-ins using]
To Artifact [965662754c]:
- File src/OFXMLElement.h — part of check-in [f3e7291fad] at 2010-04-17 23:04:50 on branch trunk — Add properties to interfaces. Only used if supported by the compiler. (user: js, size: 4284) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
@interface OFXMLAttribute: OFObject
{
OFString *prefix;
OFString *name;
OFString *namespace;
OFString *stringValue;
}
/**
* \param name The name of the attribute
* \param prefix The prefix of the attribute
* \param ns The namespace of the attribute
* \param value The string value of the attribute
* \return A new autoreleased OFXMLAttribute with the specified parameters
| > > > > > > > | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
@interface OFXMLAttribute: OFObject
{
OFString *prefix;
OFString *name;
OFString *namespace;
OFString *stringValue;
}
#ifdef OF_HAVE_PROPERTIES
@property (readonly, retain) OFString *prefix;
@property (readonly, retain) OFString *name;
@property (readonly, retain) OFString *namespace;
@property (readonly, retain) OFString *stringValue;
#endif
/**
* \param name The name of the attribute
* \param prefix The prefix of the attribute
* \param ns The namespace of the attribute
* \param value The string value of the attribute
* \return A new autoreleased OFXMLAttribute with the specified parameters
|
| ︙ | ︙ |