#ifndef PASSABILITYAGENT_H
#define PASSABILITYAGENT_H

#include <QPointF>
#include <QObject>

#include "quickpather_global.h"

class AbstractEntity;

// Not pure abstract, because we want it to be usable in the Q_PROPERTY macro
// and not force derived classes to multiply derive from it and QObject.
class QUICKPATHERSHARED_EXPORT PassabilityAgent : public QObject
{
public:
    virtual bool isPassable(const QPointF &pos, AbstractEntity *entity);
};

#endif // PASSABILITYAGENT_H

#ifndef PASSABILITYAGENT_H
#define PASSABILITYAGENT_H

#include <QPointF>
#include <QObject>

#include "quickpather_global.h"

class AbstractEntity;

// Not pure abstract, because we want it to be usable in the Q_PROPERTY macro
// and not force derived classes to multiply derive from it and QObject.
class QUICKPATHERSHARED_EXPORT PassabilityAgent : public QObject
{
    Q_OBJECT
public:
    virtual bool isPassable(const QPointF &pos, AbstractEntity *entity);
};

#endif // PASSABILITYAGENT_H

Add missing Q_OBJECT to PassabilityAgent
Add missing Q_OBJECT to PassabilityAgent
