summaryrefslogtreecommitdiff
path: root/src/opertype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opertype.cpp')
-rw-r--r--src/opertype.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/opertype.cpp b/src/opertype.cpp
index 440078f96..a90ac9de5 100644
--- a/src/opertype.cpp
+++ b/src/opertype.cpp
@@ -15,12 +15,12 @@ OperType::OperType(const std::string &nname) : name(nname)
{
}
-bool OperType::HasCommand(const std::string &cmdstr)
+bool OperType::HasCommand(const std::string &cmdstr) const
{
}
-bool OperType::HasPriv(const std::string &privstr)
+bool OperType::HasPriv(const std::string &privstr) const
{
}
@@ -35,3 +35,8 @@ void OperType::AddPriv(const std::string &privstr)
this->privs.push_back(privstr);
}
+const std::string &OperType::GetName() const
+{
+ return this->name;
+}
+