version 0.3.16
[fms.git] / include / freenet / captcha / alternatecaptcha1.h
index a47f2c3..a33dc0f 100644 (file)
@@ -6,8 +6,7 @@
 #include <string>\r
 \r
 #include "icaptcha.h"\r
-#include "freeimage/bitmap.h"\r
-#include "freeimage/font.h"\r
+#include "alternatecaptchafonts.h"\r
 \r
 class AlternateCaptcha1:public ICaptcha\r
 {\r
@@ -20,11 +19,12 @@ public:
        const bool GetSolution(std::vector<unsigned char> &solution);\r
 \r
 private:\r
-       void LoadFonts();\r
+       //void LoadFonts();\r
        const std::string GenerateRandomString(const int len);\r
 \r
-       static bool m_fontsloaded;\r
-       static std::vector<FreeImage::Font> m_fonts;\r
+       //AlternateCaptchaFonts m_fonts;\r
+       //static bool m_fontsloaded;\r
+       std::vector<FreeImage::Font> m_fonts;\r
 \r
        std::vector<unsigned char> m_puzzle;\r
        std::vector<unsigned char> m_solution;\r