Revision da511514
Von Sebastian Diel vor mehr als 10 Jahren hinzugefügt
| src/entity.h | ||
|---|---|---|
|
#include <QStack>
|
||
|
#include <QQueue>
|
||
|
#include "entityinstancefactory.h"
|
||
|
|
||
|
#if defined CUTE_ENTITY_MANAGER_LIBRARY
|
||
|
#define CUTE_ENTITY_MANAGER_LIBRARY_COMMON_DLLSPEC Q_DECL_EXPORT
|
||
|
#else
|
||
|
#define CUTE_ENTITY_MANAGER_LIBRARY_COMMON_DLLSPEC Q_DECL_IMPORT
|
||
|
#endif
|
||
|
|
||
|
|
||
|
namespace CuteEntityManager {
|
||
|
|
||
|
|
||
|
/**
|
||
|
* You mustn't name any persisted property objectName, because its pre used by Qt and will be ignored by Entity Manager
|
||
|
* @brief The Entity class
|
||
| src/entitymanager.h | ||
|---|---|---|
|
#include "entityinstancefactory.h"
|
||
|
#include "cache.h"
|
||
|
|
||
|
#if defined CUTE_ENTITY_MANAGER_LIBRARY
|
||
|
#define CUTE_ENTITY_MANAGER_LIBRARY_COMMON_DLLSPEC Q_DECL_EXPORT
|
||
|
#else
|
||
|
#define CUTE_ENTITY_MANAGER_LIBRARY_COMMON_DLLSPEC Q_DECL_IMPORT
|
||
|
#endif
|
||
|
|
||
|
namespace CuteEntityManager {
|
||
|
|
||
|
class EntityManager : public QObject {
|
||
Auch abrufbar als: Unified diff
Hoffnungslos