summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/Property.cxx
blob: 285d7aaa598b4bf5f1a2313521d38d2f34b87efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* -------------------------------------------

	Copyright Zeta Electronics Corporation

------------------------------------------- */

#include <CFKit/Property.hpp>

namespace NewOS
{
	Property::Property(const StringView& sw)
		: fName(sw)
	{
		kcout << "Property: created: " << sw.CData() << endl;
	}

	Property::~Property() = default;

	bool Property::StringEquals(StringView& name)
	{
		return fName && this->fName == name;
	}

	const PropertyId& Property::GetPropertyById()
	{
		return fAction;
	}
} // namespace NewOS