summaryrefslogtreecommitdiff
path: root/include/dbus-c++/server.h
diff options
context:
space:
mode:
authorAndreas Volz <andreas.volz@tux-style.com>2011-11-28 12:44:11 +0100
committerAndreas Volz <andreas.volz@tux-style.com>2011-11-28 12:44:11 +0100
commit1c8e43e6d60205b427c2c7540254c6d6fb9c2682 (patch)
treec0cb9512c6b607c5885c637b9630fb9f5e570c8e /include/dbus-c++/server.h
parentb100e9d32a45b6173a8c9b1963f60bccc793afbe (diff)
downloaddbus-c++-1c8e43e6d60205b427c2c7540254c6d6fb9c2682.tar.gz
- NO FUNCTIONAL CODE CHANGES!!!!
- changed code formating from tabs to spaces and others - used astyle with this option: --style=ansi --indent=spaces=2 -M --pad-oper --unpad-paren --pad-header --align-pointer=name --lineend=linux
Diffstat (limited to 'include/dbus-c++/server.h')
-rw-r--r--include/dbus-c++/server.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/include/dbus-c++/server.h b/include/dbus-c++/server.h
index 30879bf..0a807c1 100644
--- a/include/dbus-c++/server.h
+++ b/include/dbus-c++/server.h
@@ -33,7 +33,8 @@
#include "util.h"
#include "dispatcher.h"
-namespace DBus {
+namespace DBus
+{
class Server;
@@ -43,30 +44,30 @@ class DXXAPI Server
{
public:
- Server(const char *address);
+ Server(const char *address);
- Dispatcher *setup(Dispatcher *);
+ Dispatcher *setup(Dispatcher *);
- virtual ~Server();
+ virtual ~Server();
- bool listening() const;
+ bool listening() const;
- bool operator == (const Server &) const;
+ bool operator == (const Server &) const;
- void disconnect();
+ void disconnect();
- struct Private;
+ struct Private;
protected:
- Server(const Server &s)
- {}
+ Server(const Server &s)
+ {}
- virtual void on_new_connection(Connection &c) = 0;
+ virtual void on_new_connection(Connection &c) = 0;
private:
- RefPtrI<Private> _pvt;
+ RefPtrI<Private> _pvt;
};
} /* namespace DBus */