#ifndef GITREFLOGENTRY_H
#define GITREFLOGENTRY_H
// generated from class_header.h
#include <nan.h>
#include <string>

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

// Forward declaration.
struct git_reflog_entry {
};

using namespace node;
using namespace v8;

class GitReflogEntry : public ObjectWrap {
  public:

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

    git_reflog_entry *GetValue();
    git_reflog_entry **GetRefValue();

    static Handle<Value> New(void *raw, bool selfFreeing);
    bool selfFreeing;

  private:
    GitReflogEntry(git_reflog_entry *raw, bool selfFreeing);
    ~GitReflogEntry();

    static NAN_METHOD(JSNewFunction);

    git_reflog_entry *raw;
};

#endif
