Fix build errors with mind::globalMind and Qualia headers

This commit is contained in:
2025-09-15 12:47:09 -04:00
parent dd3d5fea66
commit 472184bbbc
5 changed files with 10 additions and 3 deletions
+2
View File
@@ -85,8 +85,10 @@ private:
class MindThreadLifetimeMgmtOp;
};
namespace mind {
// Global Mind instance will be defined in marionette.cpp
extern std::shared_ptr<Mind> globalMind;
} // namespace mind
} // namespace smo
@@ -40,8 +40,6 @@ public:
std::vector<std::shared_ptr<Mind>> minds;
};
extern std::shared_ptr<Mind> globalMind;
} // namespace mind
} // namespace smo
+4
View File
@@ -3,6 +3,8 @@
#include <quale.h>
namespace smo {
class PleasurableQuale
: public NonNeutralQuale
{
@@ -17,4 +19,6 @@ public:
virtual void eventInd(void);
};
} // namespace smo
#endif
+3 -1
View File
@@ -2,8 +2,10 @@
#define _QUALE_H
#include <cstdint>
#include <mentalEntity.h>
#include <mentenon.h>
#include <attentionTrigger.h>
#include <implexa.h>
#include <implex/implix.h>
namespace smo {
+1
View File
@@ -9,6 +9,7 @@
#include <asynchronousContinuation.h>
#include <asynchronousLoop.h>
#include <user/senseApiDesc.h>
#include <mind.h>
#include <deviceManager/deviceManager.h>
namespace fs = std::filesystem;