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.

index_content.h 537B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef INDEX_CONTENT_H
  2. #define INDEX_CONTENT_H
  3. #include "master_content.h"
  4. namespace content {
  5. struct toc : public master {
  6. struct element {
  7. std::string title;
  8. std::string url;
  9. };
  10. typedef std::vector<std::vector<element> > table_type;
  11. table_type table;
  12. };
  13. struct recent_changes : public master {
  14. struct element {
  15. std::string title;
  16. int version;
  17. time_t created;
  18. std::string author;
  19. std::string url;
  20. std::string diff_url;
  21. };
  22. std::vector<element> content;
  23. std::string next;
  24. };
  25. } // namespace content
  26. #endif