diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-04-01 20:46:39 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-04-01 20:46:39 +0200 |
commit | a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9 (patch) | |
tree | 6b97b6ac14716dbe51cb105819abde3e36ffd465 /global.h | |
parent | 5ef8b38e55c1883224fe1f01f47aba45b7b42666 (diff) | |
download | tapasboard-a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9.tar.gz tapasboard-a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9.zip |
add support for actually reading topics
Diffstat (limited to 'global.h')
-rw-r--r-- | global.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -15,9 +15,19 @@ /** 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 the forum view */ +/** 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 + + extern BoardManager *board_manager; #endif // GLOBAL_H |