|
Revision 477, 311 bytes
(checked in by mido, 16 years ago)
|
|
panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc
|
| Line | |
|---|
| 1 | #ifndef UNITTEST_TESTLIST_H |
|---|
| 2 | #define UNITTEST_TESTLIST_H |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | namespace UnitTest { |
|---|
| 6 | |
|---|
| 7 | class Test; |
|---|
| 8 | |
|---|
| 9 | class TestList { |
|---|
| 10 | public: |
|---|
| 11 | TestList(); |
|---|
| 12 | void Add ( Test* test ); |
|---|
| 13 | |
|---|
| 14 | Test* GetHead() const; |
|---|
| 15 | |
|---|
| 16 | private: |
|---|
| 17 | Test* m_head; |
|---|
| 18 | Test* m_tail; |
|---|
| 19 | }; |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | class ListAdder { |
|---|
| 23 | public: |
|---|
| 24 | ListAdder ( TestList& list, Test* test ); |
|---|
| 25 | }; |
|---|
| 26 | |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | #endif |
|---|