#ifndef GITREFSPEC_H
#define GITREFSPEC_H

#include <nan.h>
#include <string>

extern "C" {
#include <git2.h>
}



using namespace node;
using namespace v8;

class GitRefspec : public ObjectWrap {
  public:

    static Persistent<Function> constructor_template;
    static void Initialize (Handle<v8::Object> target);

        git_refspec *GetValue();

    static Handle<Value> New(void *raw);
    
  private:
        GitRefspec(git_refspec *raw);
    ~GitRefspec();
    
    static NAN_METHOD(New);

    
    
        git_refspec *raw;
    };

#endif
