From c77f1e2231c42480a434c1da47c2132852590496 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Krzysztof=20Kosi=C5=84ski?= Date: Mon, 13 Dec 2010 00:14:29 +0100 Subject: [PATCH] Add a warning to sp-object.h to not use some of the new methods in SPObject outside of the SP tree --- src/sp-object.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sp-object.h b/src/sp-object.h index 5d3183d9c..8581fd35a 100644 --- a/src/sp-object.h +++ b/src/sp-object.h @@ -531,6 +531,11 @@ public: CollectionPolicy _collection_policy; gchar *_label; mutable gchar *_default_label; + + // WARNING: + // Methods below should not be used outside of the SP tree, + // as they operate directly on the XML representation. + // In future, they will be made protected. void attach(SPObject *object, SPObject *prev); void reorder(SPObject *prev); void detach(SPObject *object); -- 2.30.2