You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
358 B
C++
17 lines
358 B
C++
#pragma once
|
|
#include <memory>
|
|
#include "ifaces/ILink.h"
|
|
|
|
class ILinkMixin;
|
|
|
|
using MixinPtr = std::shared_ptr<ILinkMixin>;
|
|
using LinkPtr = std::shared_ptr<ILink<ILinkMixin>>;
|
|
|
|
class ILinkMixin {
|
|
public:
|
|
virtual ~ILinkMixin() = default;
|
|
virtual void linkChild(const MixinPtr& child) = 0;
|
|
virtual void unlinkParent() = 0;
|
|
virtual LinkPtr getLink() = 0;
|
|
};
|