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

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

// Forward declaration.
struct git_index_conflict_iterator {
};

using namespace node;
using namespace v8;

class GitIndexConflictIterator : public ObjectWrap {
public:

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

  git_index_conflict_iterator *GetValue();
  git_index_conflict_iterator **GetRefValue();

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

private:
  GitIndexConflictIterator(git_index_conflict_iterator *raw, bool selfFreeing);
  ~GitIndexConflictIterator();

  static NAN_METHOD(JSNewFunction);

  git_index_conflict_iterator *raw;
};

#endif
