A bit of cleanup

This commit is contained in:
TheEssem 2020-07-28 09:38:55 -05:00
parent a11fee5ff1
commit f9c8d6b26d
38 changed files with 37 additions and 84 deletions

View file

@ -40,8 +40,7 @@ class BlurWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
bool sharp;
};

View file

@ -37,8 +37,7 @@ class BlurpleWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -55,8 +55,7 @@ class CaptionWorker : public Napi::AsyncWorker {
private:
string caption, in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -54,8 +54,7 @@ class CaptionTwoWorker : public Napi::AsyncWorker {
private:
string caption, in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -36,8 +36,7 @@ class CircleWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -37,8 +37,7 @@ class CropWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -36,8 +36,7 @@ class ExplodeWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n, amount;
size_t bytes, type_size;
int delay, amount;
Blob blob;
};

View file

@ -42,8 +42,7 @@ class FlagWorker : public Napi::AsyncWorker {
private:
string in_path, overlay_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -36,8 +36,7 @@ class FlipWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -36,8 +36,7 @@ class FlopWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -1,5 +1,4 @@
#include <napi.h>
#include <iostream>
#include <list>
#include <Magick++.h>
@ -28,8 +27,7 @@ class FreezeWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
bool loop;
};

View file

@ -41,8 +41,7 @@ class GamexplainWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -1,6 +1,5 @@
#include <napi.h>
#include <list>
#include <iostream>
#include <Magick++.h>
using namespace std;
@ -59,8 +58,7 @@ class GlobeWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -1,6 +1,4 @@
#include <napi.h>
#include <list>
#include <iostream>
#include <Magick++.h>
using namespace std;
@ -30,9 +28,7 @@ class HomebrewWorker : public Napi::AsyncWorker {
}
private:
string text, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
string text;
Blob blob;
};

View file

@ -36,8 +36,7 @@ class InvertWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -1,6 +1,4 @@
#include <napi.h>
#include <list>
#include <iostream>
#include <Magick++.h>
using namespace std;
@ -25,9 +23,7 @@ class JpegWorker : public Napi::AsyncWorker {
}
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
string in_path;
Blob blob;
};

View file

@ -40,8 +40,7 @@ class LeakWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -38,8 +38,7 @@ class MagikWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n, amount;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -1,5 +1,4 @@
#include <napi.h>
#include <iostream>
#include <list>
#include <Magick++.h>
@ -67,8 +66,7 @@ class MemeWorker : public Napi::AsyncWorker {
private:
string in_path, type, text_top, text_bottom;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -62,8 +62,7 @@ class MirrorWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
bool vertical, first;
Blob blob;
};

View file

@ -36,8 +36,7 @@ class SwirlWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -1,6 +1,5 @@
#include <napi.h>
#include <list>
#include <iostream>
#include <Magick++.h>
using namespace std;
@ -70,8 +69,7 @@ class MotivateWorker : public Napi::AsyncWorker {
private:
string in_path, type, top_text, bottom_text;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -1,5 +1,4 @@
#include <napi.h>
#include <iostream>
#include <ZXing/ReadBarcode.h>
#include <ZXing/TextUtfEncoding.h>

View file

@ -43,8 +43,7 @@ class ResizeWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n, amount;
size_t bytes, type_size;
int delay, amount;
Blob blob;
bool stretch, wide;
};

View file

@ -37,8 +37,7 @@ class ReverseWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n, amount;
size_t bytes, type_size;
int delay, amount;
Blob blob;
bool soos;
};

View file

@ -45,8 +45,7 @@ class ScottWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -33,8 +33,7 @@ class SonicWorker : public Napi::AsyncWorker {
private:
string text, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -1,6 +1,5 @@
#include <napi.h>
#include <list>
#include <iostream>
#include <Magick++.h>
using namespace std;
@ -35,8 +34,7 @@ class SpeedWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n, amount;
size_t bytes, type_size;
int delay, amount;
Blob blob;
bool slow;
};

View file

@ -1,6 +1,5 @@
#include <napi.h>
#include <list>
#include <iostream>
#include <Magick++.h>
using namespace std;
@ -54,7 +53,6 @@ class SpinWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, n;
size_t bytes, type_size;
Blob blob;
};

View file

@ -48,8 +48,7 @@ class TileWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -45,8 +45,7 @@ class TrumpWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -42,8 +42,7 @@ class WallWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};

View file

@ -59,8 +59,7 @@ class WatermarkWorker : public Napi::AsyncWorker {
private:
string in_path, water_path, type;
int delay, wordlength, i, n, gravity;
size_t bytes, type_size;
int delay, gravity;
Blob blob;
bool resize, append, mc;
};

View file

@ -40,8 +40,7 @@ class WdtWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, i, n;
size_t bytes, type_size;
int delay;
Blob blob;
};