#ifndef GITREFLOG_H
#define GITREFLOG_H

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

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

#include "../include/reflog.h"
#include "../include/repository.h"


using namespace node;
using namespace v8;

class GitReflog : public ObjectWrap {
  public:

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

        git_reflog *GetValue();

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

    
    
        git_reflog *raw;
    };

#endif
