#ifndef GLOBAL_H #define GLOBAL_H #include "boardmanager.h" /** Time the forum config settings should be considered up to date, in days. */ #define BOARD_CONFIG_TTL 2 /** Time the forum smilies list should be considered up to date, in days. */ #define SMILIES_LIST_TTL BOARD_CONFIG_TLL /** Time the list of forums should be considered up to date, in days. */ #define BOARD_LIST_TTL 2 /** Time we should consider the most recent topics in a forum up to date, in seconds. */ #define FORUM_TOP_TLL 5 * 60 /** Time we should consider other topics in a forum up to date, in seconds. */ #define FORUM_TOPICS_TLL 15 * 60 /** Number of topics per "block" in subforum view */ #define FORUM_PAGE_SIZE 20 /** Time we should consider the most recent posts in a topic up to date, in seconds. */ #define TOPIC_TOP_TLL 5 * 60 /** Time we should consider other posts in a topic up to date, in seconds. */ #define TOPIC_POSTS_TLL 15 * 60 /** Number of posts per "block" in topic view */ #define TOPIC_PAGE_SIZE 20 // Some singletons extern BoardManager *board_manager; #endif // GLOBAL_H