summaryrefslogtreecommitdiff
path: root/src/CommonAPI/DBus/DBusMessage.cpp
diff options
context:
space:
mode:
authorStefan Laner <laner@itestra.de>2014-03-03 12:01:58 +0100
committerStefan Laner <laner@itestra.de>2014-03-03 12:01:58 +0100
commit3cc632bdf160300ac5bc300931ff53f1e11a1c1b (patch)
tree2e62664da922d6189e0929e89ac845e36df8a9fe /src/CommonAPI/DBus/DBusMessage.cpp
parent638d8475dc6764df0e516c6af90f6690a1eb6d8b (diff)
downloadgenivi-common-api-dbus-runtime-3cc632bdf160300ac5bc300931ff53f1e11a1c1b.tar.gz
All public inline functions arn't anymore inline
- methods with templates excluded
Diffstat (limited to 'src/CommonAPI/DBus/DBusMessage.cpp')
-rw-r--r--src/CommonAPI/DBus/DBusMessage.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/CommonAPI/DBus/DBusMessage.cpp b/src/CommonAPI/DBus/DBusMessage.cpp
index 0180f58..512ed57 100644
--- a/src/CommonAPI/DBus/DBusMessage.cpp
+++ b/src/CommonAPI/DBus/DBusMessage.cpp
@@ -273,5 +273,29 @@ bool DBusMessage::setDestination(const char* destination)
return dbus_message_set_destination(libdbusMessage_, destination);
}
+bool DBusMessage::hasObjectPath(const std::string& objectPath) const {
+ return hasObjectPath(objectPath.c_str());
+}
+
+bool DBusMessage::isInvalidType() const {
+ return (getType() == Type::Invalid);
+}
+
+bool DBusMessage::isMethodCallType() const {
+ return (getType() == Type::MethodCall);
+}
+
+bool DBusMessage::isMethodReturnType() const {
+ return (getType() == Type::MethodReturn);
+}
+
+bool DBusMessage::isErrorType() const {
+ return (getType() == Type::Error);
+}
+
+bool DBusMessage::isSignalType() const {
+ return (getType() == Type::Signal);
+}
+
} // namespace DBus
} // namespace CommonAPI