[libchamplainmm] Layer: Add class documentation and remove ::create()



commit 948e88cdad0d674e0441544c616d2c102f32c6e8
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Fri Mar 7 23:37:23 2014 +0100

    Layer: Add class documentation and remove ::create()
    
        * Add class documentation.
        * Remove ::create() method as Layer is an abstract type.

 champlain/src/layer.hg |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/champlain/src/layer.hg b/champlain/src/layer.hg
index dab7f7c..4560240 100644
--- a/champlain/src/layer.hg
+++ b/champlain/src/layer.hg
@@ -26,6 +26,13 @@ _PINCLUDE(cluttermm/private/actor_p.h)
 namespace Champlain
 {
 
+/** Base class of libchamplain layers.
+ *
+ * Every layer (overlay that moves together with the map) has to inherit this
+ * class and implement its virtual methods.
+ *
+ * @newin{0,10}
+ */
 class Layer : public Clutter::Actor
 {
   _CLASS_GOBJECT(Layer, ChamplainLayer, CHAMPLAIN_LAYER, Clutter::Actor, ClutterActor)
@@ -34,8 +41,6 @@ protected:
   _CTOR_DEFAULT()
 
 public:
-  _WRAP_CREATE()
-
   _WRAP_METHOD(void set_view(const Glib::RefPtr<View>& view), champlain_layer_set_view)
 
   _WRAP_METHOD(BoundingBox get_bounding_box() const, champlain_layer_get_bounding_box)


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