diff options
author | Stefan Laner <laner@itestra.de> | 2014-03-03 12:01:58 +0100 |
---|---|---|
committer | Stefan Laner <laner@itestra.de> | 2014-03-03 12:01:58 +0100 |
commit | 3cc632bdf160300ac5bc300931ff53f1e11a1c1b (patch) | |
tree | 2e62664da922d6189e0929e89ac845e36df8a9fe /src/CommonAPI/DBus/DBusConnection.h | |
parent | 638d8475dc6764df0e516c6af90f6690a1eb6d8b (diff) | |
download | genivi-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/DBusConnection.h')
-rw-r--r-- | src/CommonAPI/DBus/DBusConnection.h | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/src/CommonAPI/DBus/DBusConnection.h b/src/CommonAPI/DBus/DBusConnection.h index 54b94d1..7550c10 100644 --- a/src/CommonAPI/DBus/DBusConnection.h +++ b/src/CommonAPI/DBus/DBusConnection.h @@ -54,11 +54,11 @@ class DBusConnection: public DBusProxyConnection, public std::enable_shared_from public: DBusConnection(BusType busType); - inline static std::shared_ptr<DBusConnection> getBus(const BusType& dbusBusType); - inline static std::shared_ptr<DBusConnection> wrapLibDBus(::DBusConnection* libDbusConnection); - inline static std::shared_ptr<DBusConnection> getSessionBus(); - inline static std::shared_ptr<DBusConnection> getSystemBus(); - inline static std::shared_ptr<DBusConnection> getStarterBus(); + static std::shared_ptr<DBusConnection> getBus(const BusType& dbusBusType); + static std::shared_ptr<DBusConnection> wrapLibDBus(::DBusConnection* libDbusConnection); + static std::shared_ptr<DBusConnection> getSessionBus(); + static std::shared_ptr<DBusConnection> getSystemBus(); + static std::shared_ptr<DBusConnection> getStarterBus(); DBusConnection(const DBusConnection&) = delete; DBusConnection(::DBusConnection* libDbusConnection); @@ -235,25 +235,6 @@ class DBusConnection: public DBusProxyConnection, public std::enable_shared_from mutable std::mutex enforceTimeoutMutex_; }; -std::shared_ptr<DBusConnection> DBusConnection::getBus(const BusType& busType) { - return std::make_shared<DBusConnection>(busType); -} - -std::shared_ptr<DBusConnection> DBusConnection::wrapLibDBus(::DBusConnection* libDbusConnection) { - return std::make_shared<DBusConnection>(libDbusConnection); -} - -std::shared_ptr<DBusConnection> DBusConnection::getSessionBus() { - return getBus(BusType::SESSION); -} - -std::shared_ptr<DBusConnection> DBusConnection::getSystemBus() { - return getBus(BusType::SYSTEM); -} - -std::shared_ptr<DBusConnection> DBusConnection::getStarterBus() { - return getBus(BusType::STARTER); -} } // namespace DBus } // namespace CommonAPI |