00001 // 00002 // Neighbours.cpp 00003 // 00004 // Copyright (c) Shareaza Development Team, 2002-2005. 00005 // This file is part of SHAREAZA (www.shareaza.com) 00006 // 00007 // Shareaza is free software; you can redistribute it 00008 // and/or modify it under the terms of the GNU General Public License 00009 // as published by the Free Software Foundation; either version 2 of 00010 // the License, or (at your option) any later version. 00011 // 00012 // Shareaza is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License 00018 // along with Shareaza; if not, write to the Free Software 00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 // 00021 00022 #include "StdAfx.h" 00023 #include "Shareaza.h" 00024 #include "Settings.h" 00025 #include "Neighbours.h" 00026 00027 #ifdef _DEBUG 00028 #undef THIS_FILE 00029 static char THIS_FILE[]=__FILE__; 00030 #define new DEBUG_NEW 00031 #endif 00032 00033 CNeighbours Neighbours; 00034 00035 00037 // CNeighbours construction 00038 00039 CNeighbours::CNeighbours() 00040 { 00041 } 00042 00043 CNeighbours::~CNeighbours() 00044 { 00045 Close(); 00046 } 00047 00049 // CNeighbours connect 00050 00051 void CNeighbours::Connect() 00052 { 00053 CNeighboursWithConnect::Connect(); 00054 } 00055 00057 // CNeighbours close 00058 00059 void CNeighbours::Close() 00060 { 00061 CNeighboursWithConnect::Close(); 00062 } 00063 00065 // CNeighbours run callback 00066 00067 void CNeighbours::OnRun() 00068 { 00069 CNeighboursWithConnect::OnRun(); 00070 }