A bit of cleanup
This commit is contained in:
parent
a11fee5ff1
commit
f9c8d6b26d
38 changed files with 37 additions and 84 deletions
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include <napi.h>
|
||||
#include <iostream>
|
||||
#include <ZXing/ReadBarcode.h>
|
||||
#include <ZXing/TextUtfEncoding.h>
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue