#ifndef GITMERGEOPTIONS_H
#define GITMERGEOPTIONS_H
// generated from struct_header.h
#include <nan.h>
#include <string>

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

 
using namespace node;
using namespace v8;

class GitMergeOptions : public ObjectWrap {
  public:
    GitMergeOptions(git_merge_options* raw, bool selfFreeing);
    static Persistent<Function> constructor_template;
    static void InitializeComponent (Handle<v8::Object> target);

    git_merge_options *GetValue();
    git_merge_options **GetRefValue();

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

    bool selfFreeing;

           
  private:
    GitMergeOptions();
    ~GitMergeOptions();

    void ConstructFields();

    static NAN_METHOD(JSNewFunction);

  
        static NAN_GETTER(GetVersion);
        static NAN_SETTER(SetVersion);

  
        static NAN_GETTER(GetFlags);
        static NAN_SETTER(SetFlags);

   
        static NAN_GETTER(GetRenameThreshold);
        static NAN_SETTER(SetRenameThreshold);

   
        static NAN_GETTER(GetTargetLimit);
        static NAN_SETTER(SetTargetLimit);

  
        static NAN_GETTER(GetFileFavor);
        static NAN_SETTER(SetFileFavor);

  
    git_merge_options *raw;
};

#endif
