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

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

#include "../include/repository.h"
#include "../include/oid.h"

using namespace node;
using namespace v8;

class GitGraph : public ObjectWrap {
public:

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

  bool selfFreeing;

private:

  static NAN_METHOD(JSNewFunction);


  static NAN_METHOD(DescendantOf);
};

#endif
