summaryrefslogtreecommitdiff
path: root/include/classbase.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-02 23:21:16 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-02 23:21:16 +0200
commit2e4318b5ecae22b6bc0f04dfc116ff3e4647b1e8 (patch)
treed93a7d146fb0555b45e70780ac69f6df6dedcc3a /include/classbase.h
parenta3bd6dc04d5210ddeffdda5884f51c0e5b37ec27 (diff)
it now is possible to register a class as base class (although not yet working) (request from issue #52)
Diffstat (limited to 'include/classbase.h')
-rw-r--r--include/classbase.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/classbase.h b/include/classbase.h
index c2a9022..a736c4e 100644
--- a/include/classbase.h
+++ b/include/classbase.h
@@ -245,7 +245,7 @@ protected:
/**
* Set property with callbacks
* @param name Name of the property
- * @param getter Getter method
+ * @param getter Getter methode
* @param setter Setter method
*/
void property(const char *name, const getter_callback_0 &getter);
@@ -263,9 +263,9 @@ protected:
/**
* Set the base class
- * @param name Name of the base class
+ * @param base Php::Class object that is the base
*/
-// void extends(const std::string &name) { _base = name; }
+ void extends(const ClassBase &base);
private:
/**