ladybird/LibHTML/CSS/StyleValue.h
Andreas Kling 77b9fa89dd AK: Rename Retainable => RefCounted.
(And various related renames that go along with it.)
2019-06-21 15:30:03 +02:00

23 lines
355 B
C++

#pragma once
#include <AK/Retainable.h>
class StyleValue : public RefCounted<StyleValue> {
public:
virtual ~StyleValue();
enum Type {
Invalid,
Inherit,
Initial,
Primitive,
};
Type type() const { return m_type; }
protected:
explicit StyleValue(Type);
private:
Type m_type { Type::Invalid };
};