Code

whitespace. remove tabs, improve readability
authorjohanengelen <johanengelen@users.sourceforge.net>
Wed, 26 Mar 2008 20:14:29 +0000 (20:14 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Wed, 26 Mar 2008 20:14:29 +0000 (20:14 +0000)
src/sp-use-reference.h

index 6feaaa1ed95255aca08d04e4345075d8662e43fd..b30819a5b6add09734bcd8d12a5800a0d2369355 100644 (file)
 #include <uri-references.h>
 #include <sigc++/sigc++.h>
 
+class Path;
+
+namespace Inkscape {
+namespace XML {
+    struct Node;
+}
+}
+
 
 class SPUseReference : public Inkscape::URIReference {
 public:
@@ -27,37 +35,30 @@ protected:
 
 };
 
-class Path;
-namespace Inkscape {
-namespace XML {
-struct Node;
-}
-}
-
 
 class SPUsePath : public SPUseReference {
-public:        
-       Path           *originalPath;   
-       bool           sourceDirty;
-       
-       SPObject       *owner;
-       gchar                                    *sourceHref;
-  Inkscape::XML::Node         *sourceRepr;
-       SPObject                         *sourceObject;
-       
-        sigc::connection _modified_connection;
-       sigc::connection _delete_connection;
-       sigc::connection _changed_connection;
-       sigc::connection _transformed_connection;
-
-       SPUsePath(SPObject* i_owner);
-       ~SPUsePath(void);
-       
-       void            link(char* to);
-       void            unlink(void);
-       void            start_listening(SPObject* to);
-       void            quit_listening(void);
-       void            refresh_source(void);
+public:
+    Path *originalPath;
+    bool sourceDirty;
+
+    SPObject            *owner;
+    gchar               *sourceHref;
+    Inkscape::XML::Node *sourceRepr;
+    SPObject            *sourceObject;
+
+    sigc::connection _modified_connection;
+    sigc::connection _delete_connection;
+    sigc::connection _changed_connection;
+    sigc::connection _transformed_connection;
+
+    SPUsePath(SPObject* i_owner);
+    ~SPUsePath(void);
+
+    void link(char* to);
+    void unlink(void);
+    void start_listening(SPObject* to);
+    void quit_listening(void);
+    void refresh_source(void);
 
     void (*user_unlink) (SPObject *user);
 };