Implement hash checking.
[tairent.git] / src / httptrackerclient / factory.h
blob4f829c160cb7817f730c5efa4122b52fb6fe34a4
1 /***************************************************************************
2 * *
3 * Copyright (C) 2006 David Brodsky *
4 * *
5 * This program is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU General Public License as *
7 * published by the Free Software Foundation and appearing *
8 * in the file LICENSE.GPL included in the packaging of this file. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
13 * General Public License for more details. *
14 * *
15 ***************************************************************************/
17 #ifndef _httptrackerclient_factory_h
18 #define _httptrackerclient_factory_h
20 #include "main/trackerclientfactory.h"
22 namespace Tairent
25 namespace TrackerClient
28 /** \brief Factory for creating tracker clients for http protocol.
30 class HTTPTrackerClientFactory : public Tairent::Main::TrackerClientFactory
32 public:
33 /** Creates a factory.
35 HTTPTrackerClientFactory();
37 /** Destroys the factory.
39 virtual ~HTTPTrackerClientFactory();
41 /** Creates new client.
43 virtual Tairent::Main::TrackerClient *createTrackerClient(Tairent::Main::TorrentClient *client);
46 }; // namespace TrackerClient
48 }; // namespace Tairent
50 #endif
52 // vim: ai sw=4 ts=4 noet fdm=marker