Rev 284 | Rev 290 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | |||
106 | Werner | 2 | #ifndef STANDLOADER_H |
3 | #define STANDLOADER_H |
||
287 | werner | 4 | #include <QtCore/QString> |
106 | Werner | 5 | |
6 | class Model; |
||
187 | iland | 7 | class ResourceUnit; |
106 | Werner | 8 | |
9 | class StandLoader |
||
10 | { |
||
11 | public: |
||
12 | StandLoader(Model *model): mModel(model) {} |
||
13 | void processInit(); |
||
284 | werner | 14 | void loadFromPicus(const QString &fileName, ResourceUnit *ru=NULL); |
287 | werner | 15 | void loadiLandFile(const QString &fileName, ResourceUnit *ru=NULL); |
259 | werner | 16 | |
106 | Werner | 17 | private: |
284 | werner | 18 | void loadInitFile(const QString &fileName, const QString &type, ResourceUnit *ru=NULL); |
281 | werner | 19 | void loadForUnit(); |
20 | void copyTrees(); |
||
21 | void evaluateDebugTrees(); |
||
106 | Werner | 22 | Model *mModel; |
23 | }; |
||
24 | |||
25 | #endif // STANDLOADER_H |