#ifndef GITDIFFOPTIONS_H
#define GITDIFFOPTIONS_H

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

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

#include "../include/diff.h"
#include "../include/types.h"


using namespace node;
using namespace v8;

class GitDiffOptions : public ObjectWrap {
  public:

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

        git_diff_options *GetValue();

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

              static NAN_METHOD(Version);
                    static NAN_METHOD(Flags);
                    static NAN_METHOD(IgnoreSubmodules);
                    static NAN_METHOD(ContextLines);
                    static NAN_METHOD(InterhunkLines);
                    static NAN_METHOD(MaxSize);
                    static NAN_METHOD(OldPrefix);
                    static NAN_METHOD(NewPrefix);
          
    
        git_diff_options *raw;
    };

#endif
