50 lines
812 B
C++
50 lines
812 B
C++
// This is a generated file, modify: generate/templates/templates/class_header.h
|
|
|
|
#ifndef GITLIBGIT2_H
|
|
#define GITLIBGIT2_H
|
|
#include <nan.h>
|
|
#include <string>
|
|
#include <queue>
|
|
#include <utility>
|
|
#include <unordered_map>
|
|
#include <sstream>
|
|
|
|
#include "async_baton.h"
|
|
#include "nodegit_wrapper.h"
|
|
#include "promise_completion.h"
|
|
#include "reference_counter.h"
|
|
|
|
extern "C" {
|
|
#include <git2.h>
|
|
}
|
|
|
|
#include "../include/typedefs.h"
|
|
|
|
|
|
using namespace node;
|
|
using namespace v8;
|
|
|
|
|
|
class GitLibgit2 : public
|
|
Nan::ObjectWrap
|
|
{
|
|
public:
|
|
static void InitializeComponent (v8::Local<v8::Object> target);
|
|
|
|
|
|
|
|
private:
|
|
|
|
static NAN_METHOD(Features);
|
|
|
|
static NAN_METHOD(Init);
|
|
|
|
static NAN_METHOD(Opts);
|
|
|
|
static NAN_METHOD(Shutdown);
|
|
|
|
static NAN_METHOD(Version);
|
|
};
|
|
|
|
#endif
|