| OLD | NEW |
| 1 /* | 1 /* |
| 2 * | 2 * |
| 3 * D-Bus++ - C++ bindings for D-Bus | 3 * D-Bus++ - C++ bindings for D-Bus |
| 4 * | 4 * |
| 5 * Copyright (C) 2005-2007 Paolo Durante <shackan@gmail.com> | 5 * Copyright (C) 2005-2007 Paolo Durante <shackan@gmail.com> |
| 6 * | 6 * |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 public: | 110 public: |
| 111 | 111 |
| 112 static ObjectAdaptor *from_path(const Path &path); | 112 static ObjectAdaptor *from_path(const Path &path); |
| 113 | 113 |
| 114 static ObjectAdaptorPList from_path_prefix(const std::string &prefix); | 114 static ObjectAdaptorPList from_path_prefix(const std::string &prefix); |
| 115 | 115 |
| 116 static ObjectPathList child_nodes_from_prefix(const std::string &prefix)
; | 116 static ObjectPathList child_nodes_from_prefix(const std::string &prefix)
; |
| 117 | 117 |
| 118 struct Private; | 118 struct Private; |
| 119 | 119 |
| 120 » enum registration_time { | 120 » ObjectAdaptor(Connection &conn, const Path &path); |
| 121 » » REGISTER_NOW, | |
| 122 » » REGISTER_LATER | |
| 123 » }; | |
| 124 | |
| 125 » ObjectAdaptor(Connection &conn, const Path &path, | |
| 126 » registration_time reg_time = REGISTER_NOW); | |
| 127 | 121 |
| 128 ~ObjectAdaptor(); | 122 ~ObjectAdaptor(); |
| 129 | 123 |
| 130 inline const ObjectAdaptor *object() const; | 124 inline const ObjectAdaptor *object() const; |
| 131 | 125 |
| 132 protected: | 126 protected: |
| 133 | 127 |
| 134 class DXXAPI Continuation | 128 class DXXAPI Continuation |
| 135 { | 129 { |
| 136 public: | 130 public: |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 }; | 221 }; |
| 228 | 222 |
| 229 const ObjectProxy *ObjectProxy::object() const | 223 const ObjectProxy *ObjectProxy::object() const |
| 230 { | 224 { |
| 231 return this; | 225 return this; |
| 232 } | 226 } |
| 233 | 227 |
| 234 } /* namespace DBus */ | 228 } /* namespace DBus */ |
| 235 | 229 |
| 236 #endif//__DBUSXX_OBJECT_H | 230 #endif//__DBUSXX_OBJECT_H |
| OLD | NEW |