summaryrefslogtreecommitdiff
path: root/include/countable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/countable.h')
-rw-r--r--include/countable.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/countable.h b/include/countable.h
index d4c1823..8ff0c61 100644
--- a/include/countable.h
+++ b/include/countable.h
@@ -1,11 +1,11 @@
/**
* Countable.h
- *
+ *
* "Interface" that can be "implemented" by your class. If you do, you
* create your class like this:
- *
+ *
* class MyClass : public Php::Base, public Php::Countable { ... }
- *
+ *
* You will have to implement the count() method, which should return the
* number of elements in the object
*
@@ -17,11 +17,11 @@
* Set up namespace
*/
namespace Php {
-
+
/**
* Class definition
*/
-class Countable
+class PHPCPP_EXPORT Countable
{
public:
/**
@@ -31,9 +31,8 @@ public:
virtual long count() = 0;
};
-
+
/**
* End namespace
*/
}
-