summaryrefslogtreecommitdiff
path: root/src/core/model/Project.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/Project.hpp')
-rw-r--r--src/core/model/Project.hpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/core/model/Project.hpp b/src/core/model/Project.hpp
index 7f0672a..576bd60 100644
--- a/src/core/model/Project.hpp
+++ b/src/core/model/Project.hpp
@@ -35,11 +35,14 @@ namespace ousia {
// Forward declarations
class Logger;
class Rtti;
-class SystemTypesystem;
-class Typesystem;
namespace model {
+class SystemTypesystem;
+class Typesystem;
+class Document;
+class Domain;
+
/**
* The Project class constitutes the top-level node in which documents, domains,
* typesystems and other resources are embedded.
@@ -88,7 +91,7 @@ public:
*
* @return a reference to the system typesystem.
*/
- Rooted<SystemTypesystem> getSystemTypesystem() { return systemTypesystem; }
+ Rooted<SystemTypesystem> getSystemTypesystem();
/**
* Returns a new typesystem with the given name adds it to the list of
@@ -141,21 +144,21 @@ public:
*
* @return a reference pointing at the document list.
*/
- const NodeVector<Document> &getDocuments() { return documents; }
+ const NodeVector<Document> &getDocuments();
/**
* Returns all domains of this project.
*
* @return a reference pointing at the domain list.
*/
- const NodeVector<Domain> &getDomains() { return domains; }
+ const NodeVector<Domain> &getDomains();
/**
* Returns all typesystems of this project.
*
* @return a reference pointing at the typesystem list.
*/
- const NodeVector<Typesystem> &getTypesystems() { return typesystems; }
+ const NodeVector<Typesystem> &getTypesystems();
};
}