]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/signal/signalfwd.h
my own uncrustify run
[xonotic/netradiant.git] / libs / signal / signalfwd.h
index 79597e218601852bc219e2fe525bef55d27806ab..507c0e70ea1b52dbf9bbf3961fcf69b4cf920320 100644 (file)
@@ -1,5 +1,5 @@
 
-#if !defined(INCLUDED_SIGNALFWD_H)
+#if !defined( INCLUDED_SIGNALFWD_H )
 #define INCLUDED_SIGNALFWD_H
 
 class SignalHandler;
@@ -18,29 +18,25 @@ class Opaque;
 template<typename Type>
 class Handle
 {
-  Type* p;
+Type* p;
 public:
-  Handle() : p(0)
-  {
-  }
-  explicit Handle(Type* p) : p(p)
-  {
-  }
-  Type* get() const
-  {
-    return p;
-  }
-  bool isNull() const
-  {
-    return p == 0;
-  }
+Handle() : p( 0 ){
+}
+explicit Handle( Type* p ) : p( p ){
+}
+Type* get() const {
+       return p;
+}
+bool isNull() const {
+       return p == 0;
+}
 };
 
 template<typename Handler>
 class SignalFwd
 {
 public:
-  typedef Handle< Opaque<Handler> > handler_id_type;
+typedef Handle< Opaque<Handler> > handler_id_type;
 };
 
 typedef SignalFwd<SignalHandler>::handler_id_type SignalHandlerId;