Fork de wikipp, le moteur de wiki en c++, basé sur cppcms. Le fork ajoute la langue française
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

master.h 524B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef MASTER_H
  2. #define MASTER_H
  3. #include <cppcms/application.h>
  4. #include <map>
  5. namespace content { class master; }
  6. namespace cppdb { class session; }
  7. namespace apps {
  8. class wiki;
  9. class master : public cppcms::application {
  10. protected:
  11. wiki &wi;
  12. std::string conn;
  13. std::string &locale_name;
  14. std::map<std::string,std::string> languages;
  15. public:
  16. master(wiki &w);
  17. void ini(content::master &);
  18. private:
  19. std::string media;
  20. std::string syntax_highlighter;
  21. std::string cookie_prefix;
  22. };
  23. } // namespace wiki
  24. #endif