blob: 9a8b42475325a865531b33f09477d508af9c6ee3 [file] [log] [blame]
#ifndef _RIVE_CUSTOM_PROPERTY_CONTAINER_HPP_
#define _RIVE_CUSTOM_PROPERTY_CONTAINER_HPP_
#include <stdio.h>
#include <vector>
namespace rive
{
class Component;
class CustomProperty;
class CustomPropertyContainer
{
protected:
std::vector<CustomProperty*> m_customProperties;
void syncCustomProperties();
public:
virtual void addProperty(CustomProperty* prop);
virtual const std::vector<Component*>& containerChildren() const
{
static const std::vector<Component*> emptyVec;
return emptyVec;
}
};
} // namespace rive
#endif