~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/uri-references.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
         *              is holding a reference to the target object.
42
42
         */
43
43
        URIReference(SPObject *owner);
 
44
        URIReference(SPDocument *owner_document);
44
45
 
45
46
        /**
46
47
         * Destructor.  Calls shutdown() if the reference has not been
113
114
                return (bool)_uri;
114
115
        }
115
116
 
 
117
  SPDocument *getOwnerDocument() {return _owner_document;}
 
118
  SPObject *getOwnerObject() {return _owner;}
 
119
 
116
120
protected:
117
 
        virtual bool _acceptObject(SPObject *obj) const { return true; }
 
121
        virtual bool _acceptObject(SPObject *obj) const { (void)obj; return true; }
118
122
 
119
123
private:
120
124
        SPObject *_owner;
 
125
        SPDocument *_owner_document;
121
126
        sigc::connection _connection;
122
127
        sigc::connection _release_connection;
123
128
        SPObject *_obj;
134
139
 
135
140
}
136
141
 
 
142
/**
 
143
 * Resolves an item referenced by a URI in CSS form contained in "url(...)"
 
144
 */
 
145
SPObject* sp_css_uri_reference_resolve( SPDocument *document, const gchar *uri );
 
146
 
137
147
SPObject *sp_uri_reference_resolve (SPDocument *document, const gchar *uri);
138
148
 
139
149
#endif