X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Ffreenet%2Fcaptcha%2Falternatecaptcha1.h;h=a33dc0f51e3f94f15579666c4881ef5ad63fa342;hb=b7f3b3e6ae9dc527f02b5c06e2eeae0e9cac3ad8;hp=a47f2c393336597976372859e46c95d148a68265;hpb=f8c0410b12183ecb40aafbb44086fa146b25b528;p=fms.git diff --git a/include/freenet/captcha/alternatecaptcha1.h b/include/freenet/captcha/alternatecaptcha1.h index a47f2c3..a33dc0f 100644 --- a/include/freenet/captcha/alternatecaptcha1.h +++ b/include/freenet/captcha/alternatecaptcha1.h @@ -6,8 +6,7 @@ #include #include "icaptcha.h" -#include "freeimage/bitmap.h" -#include "freeimage/font.h" +#include "alternatecaptchafonts.h" class AlternateCaptcha1:public ICaptcha { @@ -20,11 +19,12 @@ public: const bool GetSolution(std::vector &solution); private: - void LoadFonts(); + //void LoadFonts(); const std::string GenerateRandomString(const int len); - static bool m_fontsloaded; - static std::vector m_fonts; + //AlternateCaptchaFonts m_fonts; + //static bool m_fontsloaded; + std::vector m_fonts; std::vector m_puzzle; std::vector m_solution;