gnomemm r1868 - in cluttermm/trunk: . clutter/src



Author: daniel
Date: Tue Dec 16 19:17:02 2008
New Revision: 1868
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1868&view=rev

Log:
* clutter/src/behaviour-path.{ccg,hg}: Remove wrapper methods
for functionality that was moved into the separate ClutterPath
class.  Builds now but needs more work.


Modified:
   cluttermm/trunk/ChangeLog
   cluttermm/trunk/clutter/src/behaviour-path.ccg
   cluttermm/trunk/clutter/src/behaviour-path.hg

Modified: cluttermm/trunk/clutter/src/behaviour-path.ccg
==============================================================================
--- cluttermm/trunk/clutter/src/behaviour-path.ccg	(original)
+++ cluttermm/trunk/clutter/src/behaviour-path.ccg	Tue Dec 16 19:17:02 2008
@@ -20,6 +20,7 @@
 namespace Clutter
 {
 
+#if 0
 BehaviourPath::BehaviourPath(const Glib::RefPtr<Alpha>& alpha, const Glib::ArrayHandle<Knot>& knots)
 :
   _CONSTRUCT("alpha", Glib::unwrap(alpha))
@@ -34,6 +35,6 @@
 {
   return ListHandle_Knots(clutter_behaviour_path_get_knots(const_cast<ClutterBehaviourPath*>(gobj())), Glib::OWNERSHIP_SHALLOW);
 }
-
+#endif
 } //namespace Clutter
 

Modified: cluttermm/trunk/clutter/src/behaviour-path.hg
==============================================================================
--- cluttermm/trunk/clutter/src/behaviour-path.hg	(original)
+++ cluttermm/trunk/clutter/src/behaviour-path.hg	Tue Dec 16 19:17:02 2008
@@ -23,7 +23,6 @@
 _DEFS(cluttermm,clutter)
 _PINCLUDE(cluttermm/private/behaviour_p.h)
 
-
 namespace Clutter
 {
 
@@ -37,19 +36,11 @@
 protected:
   // TODO: pass the knots as a C++ container
   BehaviourPath(const Glib::RefPtr<Alpha>& alpha, const Glib::ArrayHandle<Knot>& knots);
-  _IGNORE(clutter_behaviour_path_new)
-
-  // We don't wrap the vararg functions:
-  _IGNORE(clutter_behaviour_path_append_knots)
+  _IGNORE(clutter_behaviour_path_new_with_knots)
 
 public:
   // TODO: pass the knots as a C++ container
-  _WRAP_CREATE(const Glib::RefPtr<Alpha>& alpha, const Glib::ArrayHandle<Knot>& knot);
-
-  _WRAP_METHOD(void append_knot(const Knot& knot), clutter_behaviour_path_append_knot)
-  _WRAP_METHOD(void insert_knot(guint offset, const Knot& knot), clutter_behaviour_path_insert_knot)
-  _WRAP_METHOD(void remove_knot(guint offset), clutter_behaviour_path_remove_knot)
-  _WRAP_METHOD(void clear(), clutter_behaviour_path_clear)
+  _WRAP_CREATE(const Glib::RefPtr<Alpha>& alpha, const Glib::ArrayHandle<Knot>& knots)
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 
@@ -67,14 +58,11 @@
 
 #endif // DOXYGEN_SHOULD_SKIP_THIS
 
-  typedef Glib::SListHandle<Knot, KnotTraits> ListHandle_Knots;
-  _WRAP_METHOD_DOCS_ONLY(clutter_behaviour_path_get_knots)
-  ListHandle_Knots get_knots() const;
-
-  _WRAP_SIGNAL(void knot_reached(const Knot& knot), "knot_reached")
-
-  _WRAP_PROPERTY("knot", Knot)
+//  typedef Glib::SListHandle<Knot, KnotTraits> ListHandle_Knots;
+//  _WRAP_METHOD_DOCS_ONLY(clutter_behaviour_path_get_knots)
+//  ListHandle_Knots get_knots() const;
 
+  _WRAP_SIGNAL(void knot_reached(guint knot_num), "knot_reached")
 };
 
 } // namespace Clutter



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]