Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: include/dbus-c++/object.h

Issue 6901073: dbus-c++: Revert "dbus-c++: Allow deferred object registration." (Closed) Base URL: ssh://gitrw.chromium.org:9222/dbus-cplusplus.git@master
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/object.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/object.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698