refactor: reworked declaration of global objects (singletones)

This commit is contained in:
Andrey Prygunkov
2015-05-22 20:28:05 +00:00
parent 0cbeb2fc52
commit 5d24697b0c
49 changed files with 48 additions and 136 deletions

View File

@@ -54,15 +54,8 @@
#include "HistoryCoordinator.h"
#include "UrlCoordinator.h"
extern QueueCoordinator* g_pQueueCoordinator;
extern HistoryCoordinator* g_pHistoryCoordinator;
extern UrlCoordinator* g_pUrlCoordinator;
extern PrePostProcessor* g_pPrePostProcessor;
extern Options* g_pOptions;
const int MAX_ID = 1000000000;
class GroupSorter
{
public: