summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/Property.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Sources/Property.cxx')
-rw-r--r--Kernel/Sources/Property.cxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/Kernel/Sources/Property.cxx b/Kernel/Sources/Property.cxx
index 47969bd5..60bd03da 100644
--- a/Kernel/Sources/Property.cxx
+++ b/Kernel/Sources/Property.cxx
@@ -8,21 +8,19 @@
namespace Kernel
{
- Property::Property(const StringView& sw)
- : fName(sw)
- {
- kcout << "newoskrnl: Property created: " << sw.CData();
- endl;
- }
-
Property::~Property() = default;
bool Property::StringEquals(StringView& name)
{
- return fName && this->fName == name;
+ return this->fName && this->fName == name;
+ }
+
+ StringView& Property::GetKey()
+ {
+ return this->fName;
}
- const PropertyId& Property::GetPropertyById()
+ PropertyId& Property::GetValue()
{
return fAction;
}