summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/benoit.hh26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/benoit.hh b/include/benoit.hh
new file mode 100644
index 0000000..09907aa
--- /dev/null
+++ b/include/benoit.hh
@@ -0,0 +1,26 @@
+# if !defined(BENOIT__HEADER)
+# define BENOIT__HEADER
+# include <cstddef>
+# include <cstdint>
+# include <vector>
+class benoit {
+public:
+ benoit(int const argc,char const * * argv);
+private:
+ enum class imgfmt_t {
+ jpeg,
+ png,
+ ppm,
+ webp,
+ };
+ benoit::imgfmt_t imgfmt = benoit::imgfmt_t::ppm;
+ long resx = 0x4000;
+ long resy = 0x4000;
+ long double imag = 0x0p0;
+ long double real = 0x0p0;
+ long double zoom = 0x1p0;
+ unsigned long long maxiter = 0x100;
+ void print(char const * msg);
+ std::size_t strlen(char const * str) noexcept;
+};
+# endif