aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientObject.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ClientObject.hpp')
-rw-r--r--src/client/ClientObject.hpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/client/ClientObject.hpp b/src/client/ClientObject.hpp
index 658d603..994a5ba 100644
--- a/src/client/ClientObject.hpp
+++ b/src/client/ClientObject.hpp
@@ -30,7 +30,8 @@
namespace Machina {
namespace Client {
-class ClientObject {
+class ClientObject
+{
public:
ClientObject(uint64_t id);
ClientObject(const ClientObject& copy, uint64_t id);
@@ -42,7 +43,8 @@ public:
sigc::signal<void, URIInt, Raul::Atom> signal_property;
- class View {
+ class View
+ {
public:
virtual ~View() {}
};
@@ -50,8 +52,8 @@ public:
typedef std::map<URIInt, Raul::Atom> Properties;
const Properties& properties() { return _properties; }
- SharedPtr<View> view() const { return _view; }
- void set_view(SharedPtr<View> view) { _view = view; }
+ SharedPtr<View> view() const { return _view; }
+ void set_view(SharedPtr<View> view) { _view = view; }
private:
uint64_t _id;
@@ -60,9 +62,12 @@ private:
Properties _properties;
};
-class ClientObjectKey : public ClientObject {
+class ClientObjectKey
+ : public ClientObject
+{
public:
- ClientObjectKey(uint64_t id) : ClientObject(id) {}
+ ClientObjectKey(uint64_t id)
+ : ClientObject(id) {}
};
}