// This is a generated file, modify: generate/templates/templates/class_header.h

#ifndef GITLIBGIT2_H
#define GITLIBGIT2_H
#include <nan.h>
#include <string>
#include <utility>
#include <algorithm>
#include <set>
#include <unordered_set>
#include <sstream>

#include "async_baton.h"
#include "async_worker.h"
#include "cleanup_handle.h"
#include "context.h"
#include "lock_master.h"
#include "nodegit_wrapper.h"
#include "promise_completion.h"
#include "reference_counter.h"
#include "worker_pool.h"

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

#include "../include/typedefs.h"


using namespace node;
using namespace v8;


class GitLibgit2 : public
  Nan::ObjectWrap
{
   public:
    GitLibgit2(const GitLibgit2 &) = delete;
    GitLibgit2(GitLibgit2 &&) = delete;
    GitLibgit2 &operator=(const GitLibgit2 &) = delete;
    GitLibgit2 &operator=(GitLibgit2 &&) = delete;

    static void InitializeComponent (v8::Local<v8::Object> target, nodegit::Context *nodegitContext);

                 

  private:

    static NAN_METHOD(Features);

    static NAN_METHOD(Init);

    static NAN_METHOD(Opts);

    static NAN_METHOD(Prerelease);

    static NAN_METHOD(Shutdown);

    static NAN_METHOD(Version);
};

#endif
