Permalink
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (24 sloc) 648 Bytes
#ifndef __NODE_MAPNIK_•_H__
#define __NODE_MAPNIK_•_H__
#include <v8.h>
#include <node.h>
#include <node_object_wrap.h>
// mapnik
#include <mapnik/•.hpp>
// boost
#include <boost/shared_ptr.hpp>
using namespace v8;
using namespace node;
typedef boost::shared_ptr<mapnik::•> •_ptr;
class •: public node::ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor;
static void Initialize(Handle<Object> target);
static Handle<Value> New(const Arguments &args);
•(std::string const& name);
•(std::string const& name, std::string const& srs);
private:
~•();
•_ptr this_;
};
#endif