|
Revision 10, 426 bytes
(checked in by balister, 9 years ago)
|
|
Initial import
|
| Line | |
|---|
| 1 | #ifndef USESPORT_H
|
|---|
| 2 | #define USESPORT_H
|
|---|
| 3 |
|
|---|
| 4 | #include "Port.h"
|
|---|
| 5 |
|
|---|
| 6 | class OSSIEPARSER_API UsesPort : public Port
|
|---|
| 7 | {
|
|---|
| 8 | private:
|
|---|
| 9 | char* identifier;
|
|---|
| 10 |
|
|---|
| 11 | void parseElement();
|
|---|
| 12 |
|
|---|
| 13 | void parseID( DOMElement* _elem );
|
|---|
| 14 |
|
|---|
| 15 | char* getTextNode( DOMElement* _node );
|
|---|
| 16 |
|
|---|
| 17 | public:
|
|---|
| 18 | UsesPort();
|
|---|
| 19 |
|
|---|
| 20 | UsesPort( DOMElement* _root );
|
|---|
| 21 |
|
|---|
| 22 | UsesPort (const UsesPort& _up);
|
|---|
| 23 |
|
|---|
| 24 | ~UsesPort();
|
|---|
| 25 |
|
|---|
| 26 | char* getID() const { return identifier; }
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | #endif
|
|---|
| 30 |
|
|---|