DEADSOFTWARE

Convert typepaths from SHORTCHAR** to TypePath class
[odcread.git] / alien.h
diff --git a/alien.h b/alien.h
index 40ef09ab838b9c21b5860549acfddedd9e680b3a..0c4b51dd4e810eb0c52b175a26469cb0e146c999 100644 (file)
--- a/alien.h
+++ b/alien.h
@@ -5,6 +5,7 @@
 #include <store.h>
 #include <iostream>
 #include <vector>
+#include <string>
 
 namespace odc {
 
@@ -39,12 +40,12 @@ struct AlienPart : public AlienComponent {
 };
 
 class Alien : public Store {
-       SHORTCHAR **d_path;
+       const TypePath d_path;
        std::vector<AlienComponent*> d_comps;
 
        public:
 
-       Alien(INTEGER id, SHORTCHAR **path);
+       Alien(INTEGER id, const TypePath &path);
 
        std::vector<AlienComponent*> & getComponents();