diff options
Diffstat (limited to 'src/client/ClientObject.hpp')
-rw-r--r-- | src/client/ClientObject.hpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/client/ClientObject.hpp b/src/client/ClientObject.hpp index c9469ed..e823a64 100644 --- a/src/client/ClientObject.hpp +++ b/src/client/ClientObject.hpp @@ -51,22 +51,20 @@ public: typedef std::map<URIInt, Raul::Atom> Properties; const Properties& properties() { return _properties; } - SPtr<View> view() const { return _view; } - void set_view(SPtr<View> view) { _view = view; } + View* view() const { return _view; } + void set_view(View* view) { _view = view; } private: - uint64_t _id; - SPtr<View> _view; + uint64_t _id; + View* _view; Properties _properties; }; -class ClientObjectKey - : public ClientObject +/** Stub client object to use as a search key. */ +struct ClientObjectKey : public ClientObject { -public: - ClientObjectKey(uint64_t id) - : ClientObject(id) {} + ClientObjectKey(uint64_t id) : ClientObject(id) {} }; } |