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

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


using namespace node;
using namespace v8;

class GitNoteIterator : public ObjectWrap {
  public:

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

    git_note_iterator *GetValue();
    git_note_iterator **GetRefValue();

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

  private:
    GitNoteIterator(git_note_iterator *raw, bool selfFreeing);
    ~GitNoteIterator();

    static NAN_METHOD(JSNewFunction);

    git_note_iterator *raw;
};

#endif
