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

@@ -1,7 +1,7 @@
/*
* This file is part of nzbget
*
* Copyright (C) 2007-2014 Andrey Prygunkov <hugbug@users.sourceforge.net>
* Copyright (C) 2007-2015 Andrey Prygunkov <hugbug@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -49,9 +49,6 @@
#include "ScanScript.h"
#include "Util.h"
extern QueueCoordinator* g_pQueueCoordinator;
extern Options* g_pOptions;
Scanner::FileData::FileData(const char* szFilename)
{
m_szFilename = strdup(szFilename);