Code

Enable icon disk cache by default.
[inkscape.git] / src / sp-use-reference.h
index 910ac709f80d5188d67a9b598bfbda689afae132..73d46c8aa8b89058028c4ed44576d5e90db05ba5 100644 (file)
  */
 
 #include <forward.h>
+#include "sp-item.h"
 #include <uri-references.h>
 #include <sigc++/sigc++.h>
 
+class Path;
+
+namespace Inkscape {
+namespace XML {
+    struct Node;
+}
+}
+
 
 class SPUseReference : public Inkscape::URIReference {
 public:
@@ -27,37 +36,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;
-       
-       gulong           _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);
 };