2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Removed 'extern' from 'extern typedef ...' in src/*.h
pull/1/head
Tatsuhiro Tsujikawa 2007-11-23 08:47:38 +00:00
parent 5f5ef0004f
commit 49618788e3
44 changed files with 105 additions and 101 deletions

View File

@ -1,3 +1,7 @@
2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed 'extern' from 'extern typedef ...' in src/*.h
2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated usage Updated usage

View File

@ -41,15 +41,15 @@
#include "Socket.h" #include "Socket.h"
class Request; class Request;
extern typedef SharedHandle<Request> RequestHandle; typedef SharedHandle<Request> RequestHandle;
class DownloadEngine; class DownloadEngine;
class Segment; class Segment;
extern typedef SharedHandle<Segment> SegmentHandle; typedef SharedHandle<Segment> SegmentHandle;
extern typedef deque<SegmentHandle> Segments; typedef deque<SegmentHandle> Segments;
class NameResolver; class NameResolver;
extern typedef SharedHandle<NameResolver> NameResolverHandle; typedef SharedHandle<NameResolver> NameResolverHandle;
class BtProgressInfoFile; class BtProgressInfoFile;
extern typedef SharedHandle<BtProgressInfoFile> BtProgressInfoFileHandle; typedef SharedHandle<BtProgressInfoFile> BtProgressInfoFileHandle;
class AbstractCommand : public Command, public RequestGroupAware { class AbstractCommand : public Command, public RequestGroupAware {
private: private:

View File

@ -38,7 +38,7 @@
#include "AbstractCommand.h" #include "AbstractCommand.h"
class HttpConnection; class HttpConnection;
extern typedef SharedHandle<HttpConnection> HttpConnectionHandle; typedef SharedHandle<HttpConnection> HttpConnectionHandle;
class AbstractProxyRequestCommand : public AbstractCommand { class AbstractProxyRequestCommand : public AbstractCommand {
protected: protected:

View File

@ -38,7 +38,7 @@
#include "AbstractCommand.h" #include "AbstractCommand.h"
class HttpConnection; class HttpConnection;
extern typedef SharedHandle<HttpConnection> HttpConnectionHandle; typedef SharedHandle<HttpConnection> HttpConnectionHandle;
class AbstractProxyResponseCommand : public AbstractCommand { class AbstractProxyResponseCommand : public AbstractCommand {
protected: protected:

View File

@ -39,13 +39,13 @@
class Option; class Option;
class Netrc; class Netrc;
extern typedef SharedHandle<Netrc> NetrcHandle; typedef SharedHandle<Netrc> NetrcHandle;
class AuthConfig; class AuthConfig;
extern typedef SharedHandle<AuthConfig> AuthConfigHandle; typedef SharedHandle<AuthConfig> AuthConfigHandle;
class Request; class Request;
extern typedef SharedHandle<Request> RequestHandle; typedef SharedHandle<Request> RequestHandle;
class AuthResolver; class AuthResolver;
extern typedef SharedHandle<AuthResolver> AuthResolverHandle; typedef SharedHandle<AuthResolver> AuthResolverHandle;
class AuthConfigFactory { class AuthConfigFactory {
private: private:

View File

@ -42,7 +42,7 @@
#define MAX_PEERS 55 #define MAX_PEERS 55
class AnnounceTier; class AnnounceTier;
extern typedef SharedHandle<AnnounceTier> AnnounceTierHandle; typedef SharedHandle<AnnounceTier> AnnounceTierHandle;
typedef deque<AnnounceTierHandle> AnnounceTiers; typedef deque<AnnounceTierHandle> AnnounceTiers;
class RequestGroup; class RequestGroup;

View File

@ -38,7 +38,7 @@
#include "Dependency.h" #include "Dependency.h"
class RequestGroup; class RequestGroup;
extern typedef WeakHandle<RequestGroup> RequestGroupWeakHandle; typedef WeakHandle<RequestGroup> RequestGroupWeakHandle;
class Option; class Option;
class Logger; class Logger;

View File

@ -40,7 +40,7 @@
class RequestGroup; class RequestGroup;
class DownloadEngine; class DownloadEngine;
class Command; class Command;
extern typedef deque<Command*> Commands; typedef deque<Command*> Commands;
class BtFileAllocationEntry : public FileAllocationEntry { class BtFileAllocationEntry : public FileAllocationEntry {
public: public:

View File

@ -42,7 +42,7 @@ class RequestGroup;
class DownloadEngine; class DownloadEngine;
class Option; class Option;
class Command; class Command;
extern typedef deque<Command*> Commands; typedef deque<Command*> Commands;
class BtSetup { class BtSetup {
private: private:

View File

@ -39,7 +39,7 @@
#include "TimeA2.h" #include "TimeA2.h"
class CheckIntegrityEntry; class CheckIntegrityEntry;
extern typedef SharedHandle<CheckIntegrityEntry> CheckIntegrityEntryHandle; typedef SharedHandle<CheckIntegrityEntry> CheckIntegrityEntryHandle;
class CheckIntegrityCommand : public RealtimeCommand { class CheckIntegrityCommand : public RealtimeCommand {
private: private:

View File

@ -38,9 +38,9 @@
#include "RequestGroupEntry.h" #include "RequestGroupEntry.h"
class IteratableValidator; class IteratableValidator;
extern typedef SharedHandle<IteratableValidator> IteratableValidatorHandle; typedef SharedHandle<IteratableValidator> IteratableValidatorHandle;
class Command; class Command;
extern typedef deque<Command*> Commands; typedef deque<Command*> Commands;
class DownloadEngine; class DownloadEngine;
class CheckIntegrityEntry : public RequestGroupEntry, class CheckIntegrityEntry : public RequestGroupEntry,

View File

@ -38,8 +38,8 @@
#include "common.h" #include "common.h"
class CheckIntegrityEntry; class CheckIntegrityEntry;
extern typedef SharedHandle<CheckIntegrityEntry> CheckIntegrityEntryHandle; typedef SharedHandle<CheckIntegrityEntry> CheckIntegrityEntryHandle;
extern typedef deque<CheckIntegrityEntryHandle> CheckIntegrityEntries; typedef deque<CheckIntegrityEntryHandle> CheckIntegrityEntries;
class CheckIntegrityMan { class CheckIntegrityMan {
private: private:

View File

@ -46,7 +46,7 @@
#include "PeerStorage.h" #include "PeerStorage.h"
class Randomizer; class Randomizer;
extern typedef SharedHandle<Randomizer> RandomizerHandle; typedef SharedHandle<Randomizer> RandomizerHandle;
#define DEFAULT_ANNOUNCE_INTERVAL 1800 #define DEFAULT_ANNOUNCE_INTERVAL 1800

View File

@ -41,7 +41,7 @@
#include "List.h" #include "List.h"
class Randomizer; class Randomizer;
extern typedef SharedHandle<Randomizer> RandomizerHandle; typedef SharedHandle<Randomizer> RandomizerHandle;
#define INFO_HASH_LENGTH 20 #define INFO_HASH_LENGTH 20
#define PIECE_HASH_LENGTH 20 #define PIECE_HASH_LENGTH 20

View File

@ -38,9 +38,9 @@
#include "BtProgressInfoFile.h" #include "BtProgressInfoFile.h"
class DownloadContext; class DownloadContext;
extern typedef SharedHandle<DownloadContext> DownloadContextHandle; typedef SharedHandle<DownloadContext> DownloadContextHandle;
class PieceStorage; class PieceStorage;
extern typedef SharedHandle<PieceStorage> PieceStorageHandle; typedef SharedHandle<PieceStorage> PieceStorageHandle;
class Logger; class Logger;
class Option; class Option;

View File

@ -38,15 +38,15 @@
#include "PieceStorage.h" #include "PieceStorage.h"
class DownloadContext; class DownloadContext;
extern typedef SharedHandle<DownloadContext> DownloadContextHandle; typedef SharedHandle<DownloadContext> DownloadContextHandle;
class BitfieldMan; class BitfieldMan;
class Logger; class Logger;
class Option; class Option;
extern typedef deque<PieceHandle> Pieces; typedef deque<PieceHandle> Pieces;
class DiskWriterFactory; class DiskWriterFactory;
extern typedef SharedHandle<DiskWriterFactory> DiskWriterFactoryHandle; typedef SharedHandle<DiskWriterFactory> DiskWriterFactoryHandle;
class FileEntry; class FileEntry;
extern typedef SharedHandle<FileEntry> FileEntryHandle; typedef SharedHandle<FileEntry> FileEntryHandle;
#define END_GAME_PIECE_NUM 20 #define END_GAME_PIECE_NUM 20

View File

@ -38,9 +38,9 @@
#include "AbstractCommand.h" #include "AbstractCommand.h"
class TransferEncoding; class TransferEncoding;
extern typedef SharedHandle<TransferEncoding> TransferEncodingHandle; typedef SharedHandle<TransferEncoding> TransferEncodingHandle;
class PeerStat; class PeerStat;
extern typedef SharedHandle<PeerStat> PeerStatHandle; typedef SharedHandle<PeerStat> PeerStatHandle;
class DownloadCommand : public AbstractCommand { class DownloadCommand : public AbstractCommand {
private: private:

View File

@ -39,20 +39,20 @@
#include "Command.h" #include "Command.h"
class SocketCore; class SocketCore;
extern typedef SharedHandle<SocketCore> SocketHandle; typedef SharedHandle<SocketCore> SocketHandle;
extern typedef deque<SocketHandle> Sockets; typedef deque<SocketHandle> Sockets;
class Logger; class Logger;
class Option; class Option;
class NameResolver; class NameResolver;
extern typedef SharedHandle<NameResolver> NameResolverHandle; typedef SharedHandle<NameResolver> NameResolverHandle;
class RequestGroupMan; class RequestGroupMan;
extern typedef SharedHandle<RequestGroupMan> RequestGroupManHandle; typedef SharedHandle<RequestGroupMan> RequestGroupManHandle;
class FileAllocationMan; class FileAllocationMan;
extern typedef SharedHandle<FileAllocationMan> FileAllocationManHandle; typedef SharedHandle<FileAllocationMan> FileAllocationManHandle;
class StatCalc; class StatCalc;
extern typedef SharedHandle<StatCalc> StatCalcHandle; typedef SharedHandle<StatCalc> StatCalcHandle;
class CheckIntegrityMan; class CheckIntegrityMan;
extern typedef SharedHandle<CheckIntegrityMan> CheckIntegrityManHandle; typedef SharedHandle<CheckIntegrityMan> CheckIntegrityManHandle;
class SocketEntry { class SocketEntry {
public: public:

View File

@ -40,10 +40,10 @@
class Logger; class Logger;
class Option; class Option;
class RequestGroup; class RequestGroup;
extern typedef SharedHandle<RequestGroup> RequestGroupHandle; typedef SharedHandle<RequestGroup> RequestGroupHandle;
extern typedef deque<RequestGroupHandle> RequestGroups; typedef deque<RequestGroupHandle> RequestGroups;
class DownloadEngine; class DownloadEngine;
extern typedef SharedHandle<DownloadEngine> DownloadEngineHandle; typedef SharedHandle<DownloadEngine> DownloadEngineHandle;
class DownloadEngineFactory { class DownloadEngineFactory {
private: private:

View File

@ -39,7 +39,7 @@
#include "TimeA2.h" #include "TimeA2.h"
class FileAllocationEntry; class FileAllocationEntry;
extern typedef SharedHandle<FileAllocationEntry> FileAllocationEntryHandle; typedef SharedHandle<FileAllocationEntry> FileAllocationEntryHandle;
class Exception; class Exception;
class FileAllocationCommand : public RealtimeCommand { class FileAllocationCommand : public RealtimeCommand {

View File

@ -38,9 +38,9 @@
#include "RequestGroupEntry.h" #include "RequestGroupEntry.h"
class FileAllocationIterator; class FileAllocationIterator;
extern typedef SharedHandle<FileAllocationIterator> FileAllocationIteratorHandle; typedef SharedHandle<FileAllocationIterator> FileAllocationIteratorHandle;
class Command; class Command;
extern typedef deque<Command*> Commands; typedef deque<Command*> Commands;
class DownloadEngine; class DownloadEngine;
class FileAllocationEntry : public RequestGroupEntry, public ProgressAwareEntry { class FileAllocationEntry : public RequestGroupEntry, public ProgressAwareEntry {

View File

@ -38,8 +38,8 @@
#include "common.h" #include "common.h"
class FileAllocationEntry; class FileAllocationEntry;
extern typedef SharedHandle<FileAllocationEntry> FileAllocationEntryHandle; typedef SharedHandle<FileAllocationEntry> FileAllocationEntryHandle;
extern typedef deque<FileAllocationEntryHandle> FileAllocationEntries; typedef deque<FileAllocationEntryHandle> FileAllocationEntries;
class FileAllocationMan { class FileAllocationMan {
private: private:

View File

@ -39,8 +39,8 @@
#include "TimeA2.h" #include "TimeA2.h"
class RequestGroup; class RequestGroup;
extern typedef SharedHandle<RequestGroup> RequestGroupHandle; typedef SharedHandle<RequestGroup> RequestGroupHandle;
extern typedef deque<RequestGroupHandle> RequestGroups; typedef deque<RequestGroupHandle> RequestGroups;
class DownloadEngine; class DownloadEngine;
class FillRequestGroupCommand : public Command { class FillRequestGroupCommand : public Command {

View File

@ -38,7 +38,7 @@
#include "DownloadCommand.h" #include "DownloadCommand.h"
class HttpConnection; class HttpConnection;
extern typedef SharedHandle<HttpConnection> HttpConnectionHandle; typedef SharedHandle<HttpConnection> HttpConnectionHandle;
class HttpDownloadCommand : public DownloadCommand { class HttpDownloadCommand : public DownloadCommand {
private: private:

View File

@ -38,7 +38,7 @@
#include "AbstractCommand.h" #include "AbstractCommand.h"
class HttpConnection; class HttpConnection;
extern typedef SharedHandle<HttpConnection> HttpConnectionHandle; typedef SharedHandle<HttpConnection> HttpConnectionHandle;
class HttpRequestCommand:public AbstractCommand { class HttpRequestCommand:public AbstractCommand {
private: private:

View File

@ -38,10 +38,10 @@
#include "AbstractCommand.h" #include "AbstractCommand.h"
class HttpConnection; class HttpConnection;
extern typedef SharedHandle<HttpConnection> HttpConnectionHandle; typedef SharedHandle<HttpConnection> HttpConnectionHandle;
class HttpDownloadCommand; class HttpDownloadCommand;
class HttpResponse; class HttpResponse;
extern typedef SharedHandle<HttpResponse> HttpResponseHandle; typedef SharedHandle<HttpResponse> HttpResponseHandle;
class HttpResponseCommand : public AbstractCommand { class HttpResponseCommand : public AbstractCommand {
private: private:

View File

@ -38,12 +38,12 @@
#include "IteratableValidator.h" #include "IteratableValidator.h"
class SingleFileDownloadContext; class SingleFileDownloadContext;
extern typedef SharedHandle<SingleFileDownloadContext> SingleFileDownloadContextHandle; typedef SharedHandle<SingleFileDownloadContext> SingleFileDownloadContextHandle;
class PieceStorage; class PieceStorage;
extern typedef SharedHandle<PieceStorage> PieceStorageHandle; typedef SharedHandle<PieceStorage> PieceStorageHandle;
class Logger; class Logger;
class MessageDigestContext; class MessageDigestContext;
extern typedef SharedHandle<MessageDigestContext> MessageDigestContextHandle; typedef SharedHandle<MessageDigestContext> MessageDigestContextHandle;
class IteratableChecksumValidator:public IteratableValidator class IteratableChecksumValidator:public IteratableValidator
{ {

View File

@ -38,9 +38,9 @@
#include "IteratableValidator.h" #include "IteratableValidator.h"
class DownloadContext; class DownloadContext;
extern typedef SharedHandle<DownloadContext> DownloadContextHandle; typedef SharedHandle<DownloadContext> DownloadContextHandle;
class PieceStorage; class PieceStorage;
extern typedef SharedHandle<PieceStorage> PieceStorageHandle; typedef SharedHandle<PieceStorage> PieceStorageHandle;
class BitfieldMan; class BitfieldMan;
class Logger; class Logger;

View File

@ -40,8 +40,8 @@
class Option; class Option;
class Logger; class Logger;
class RequestGroup; class RequestGroup;
extern typedef SharedHandle<RequestGroup> RequestGroupHandle; typedef SharedHandle<RequestGroup> RequestGroupHandle;
extern typedef deque<RequestGroupHandle> RequestGroups; typedef deque<RequestGroupHandle> RequestGroups;
class Metalink2RequestGroup { class Metalink2RequestGroup {
private: private:

View File

@ -39,8 +39,8 @@
class Option; class Option;
class MetalinkEntry; class MetalinkEntry;
extern typedef SharedHandle<MetalinkEntry> MetalinkEntryHandle; typedef SharedHandle<MetalinkEntry> MetalinkEntryHandle;
extern typedef deque<MetalinkEntryHandle> MetalinkEntries; typedef deque<MetalinkEntryHandle> MetalinkEntries;
class MetalinkHelper { class MetalinkHelper {
private: private:

View File

@ -39,8 +39,8 @@
class MultiDiskAdaptor; class MultiDiskAdaptor;
class FileEntry; class FileEntry;
extern typedef SharedHandle<FileEntry> FileEntryHandle; typedef SharedHandle<FileEntry> FileEntryHandle;
extern typedef deque<FileEntryHandle> FileEntries; typedef deque<FileEntryHandle> FileEntries;
class MultiFileAllocationIterator:public FileAllocationIterator class MultiFileAllocationIterator:public FileAllocationIterator
{ {

View File

@ -38,8 +38,8 @@
#include "common.h" #include "common.h"
class RequestGroup; class RequestGroup;
extern typedef SharedHandle<RequestGroup> RequestGroupHandle; typedef SharedHandle<RequestGroup> RequestGroupHandle;
extern typedef deque<RequestGroupHandle> RequestGroups; typedef deque<RequestGroupHandle> RequestGroups;
class Option; class Option;
class Logger; class Logger;

View File

@ -42,7 +42,7 @@
class DownloadEngine; class DownloadEngine;
class Exception; class Exception;
class Peer; class Peer;
extern typedef SharedHandle<Peer> PeerHandle; typedef SharedHandle<Peer> PeerHandle;
class PeerAbstractCommand : public Command { class PeerAbstractCommand : public Command {
private: private:

View File

@ -38,7 +38,7 @@
#include "PeerAbstractCommand.h" #include "PeerAbstractCommand.h"
class PeerConnection; class PeerConnection;
extern typedef SharedHandle<PeerConnection> PeerConnectionHandle; typedef SharedHandle<PeerConnection> PeerConnectionHandle;
class PeerReceiveHandshakeCommand:public PeerAbstractCommand class PeerReceiveHandshakeCommand:public PeerAbstractCommand
{ {

View File

@ -40,12 +40,12 @@
#include "IntSequence.h" #include "IntSequence.h"
class Piece; class Piece;
extern typedef SharedHandle<Piece> PieceHandle; typedef SharedHandle<Piece> PieceHandle;
extern typedef deque<PieceHandle> Pieces; typedef deque<PieceHandle> Pieces;
class Peer; class Peer;
extern typedef SharedHandle<Peer> PeerHandle; typedef SharedHandle<Peer> PeerHandle;
class DiskAdaptor; class DiskAdaptor;
extern typedef SharedHandle<DiskAdaptor> DiskAdaptorHandle; typedef SharedHandle<DiskAdaptor> DiskAdaptorHandle;
class PieceStorage { class PieceStorage {
public: public:

View File

@ -40,32 +40,32 @@
class DownloadEngine; class DownloadEngine;
class SegmentMan; class SegmentMan;
extern typedef SharedHandle<SegmentMan> SegmentManHandle; typedef SharedHandle<SegmentMan> SegmentManHandle;
class SegmentManFactory; class SegmentManFactory;
extern typedef SharedHandle<SegmentManFactory> SegmentManFactoryHandle; typedef SharedHandle<SegmentManFactory> SegmentManFactoryHandle;
class Command; class Command;
extern typedef deque<Command*> Commands; typedef deque<Command*> Commands;
class DownloadContext; class DownloadContext;
extern typedef SharedHandle<DownloadContext> DownloadContextHandle; typedef SharedHandle<DownloadContext> DownloadContextHandle;
class PieceStorage; class PieceStorage;
extern typedef SharedHandle<PieceStorage> PieceStorageHandle; typedef SharedHandle<PieceStorage> PieceStorageHandle;
class BtProgressInfoFile; class BtProgressInfoFile;
extern typedef SharedHandle<BtProgressInfoFile> BtProgressInfoFileHandle; typedef SharedHandle<BtProgressInfoFile> BtProgressInfoFileHandle;
class Dependency; class Dependency;
extern typedef SharedHandle<Dependency> DependencyHandle; typedef SharedHandle<Dependency> DependencyHandle;
class DlAbortEx; class DlAbortEx;
class PostDownloadHandler; class PostDownloadHandler;
extern typedef SharedHandle<PostDownloadHandler> PostDownloadHandlerHandle; typedef SharedHandle<PostDownloadHandler> PostDownloadHandlerHandle;
extern typedef deque<PostDownloadHandlerHandle> PostDownloadHandlers; typedef deque<PostDownloadHandlerHandle> PostDownloadHandlers;
class DiskWriterFactory; class DiskWriterFactory;
extern typedef SharedHandle<DiskWriterFactory> DiskWriterFactoryHandle; typedef SharedHandle<DiskWriterFactory> DiskWriterFactoryHandle;
class Option; class Option;
class Logger; class Logger;
class RequestGroup; class RequestGroup;
extern typedef SharedHandle<RequestGroup> RequestGroupHandle; typedef SharedHandle<RequestGroup> RequestGroupHandle;
extern typedef deque<RequestGroupHandle> RequestGroups; typedef deque<RequestGroupHandle> RequestGroups;
class CheckIntegrityEntry; class CheckIntegrityEntry;
extern typedef SharedHandle<CheckIntegrityEntry> CheckIntegrityEntryHandle; typedef SharedHandle<CheckIntegrityEntry> CheckIntegrityEntryHandle;
class RequestGroup { class RequestGroup {

View File

@ -40,10 +40,10 @@
class DownloadEngine; class DownloadEngine;
class RequestGroup; class RequestGroup;
extern typedef SharedHandle<RequestGroup> RequestGroupHandle; typedef SharedHandle<RequestGroup> RequestGroupHandle;
extern typedef deque<RequestGroupHandle> RequestGroups; typedef deque<RequestGroupHandle> RequestGroups;
class Command; class Command;
extern typedef deque<Command*> Commands; typedef deque<Command*> Commands;
class Logger; class Logger;
class RequestGroupMan { class RequestGroupMan {

View File

@ -38,7 +38,7 @@
#include "common.h" #include "common.h"
class Piece; class Piece;
extern typedef SharedHandle<Piece> PieceHandle; typedef SharedHandle<Piece> PieceHandle;
class Segment { class Segment {
public: public:

View File

@ -38,19 +38,19 @@
#include "common.h" #include "common.h"
class Segment; class Segment;
extern typedef SharedHandle<Segment> SegmentHandle; typedef SharedHandle<Segment> SegmentHandle;
extern typedef deque<SegmentHandle> Segments; typedef deque<SegmentHandle> Segments;
class Logger; class Logger;
class Option; class Option;
class PeerStat; class PeerStat;
extern typedef SharedHandle<PeerStat> PeerStatHandle; typedef SharedHandle<PeerStat> PeerStatHandle;
typedef deque<PeerStatHandle> PeerStats; typedef deque<PeerStatHandle> PeerStats;
class DownloadContext; class DownloadContext;
extern typedef SharedHandle<DownloadContext> DownloadContextHandle; typedef SharedHandle<DownloadContext> DownloadContextHandle;
class PieceStorage; class PieceStorage;
extern typedef SharedHandle<PieceStorage> PieceStorageHandle; typedef SharedHandle<PieceStorage> PieceStorageHandle;
class Piece; class Piece;
extern typedef SharedHandle<Piece> PieceHandle; typedef SharedHandle<Piece> PieceHandle;
#define SEGMENT_FILE_EXTENSION ".aria2" #define SEGMENT_FILE_EXTENSION ".aria2"

View File

@ -38,11 +38,11 @@
#include "common.h" #include "common.h"
class RequestGroupMan; class RequestGroupMan;
extern typedef SharedHandle<RequestGroupMan> RequestGroupManHandle; typedef SharedHandle<RequestGroupMan> RequestGroupManHandle;
class FileAllocationMan; class FileAllocationMan;
extern typedef SharedHandle<FileAllocationMan> FileAllocationManHandle; typedef SharedHandle<FileAllocationMan> FileAllocationManHandle;
class CheckIntegrityMan; class CheckIntegrityMan;
extern typedef SharedHandle<CheckIntegrityMan> CheckIntegrityManHandle; typedef SharedHandle<CheckIntegrityMan> CheckIntegrityManHandle;
class StatCalc { class StatCalc {
public: public:

View File

@ -39,7 +39,7 @@
#include "TimeA2.h" #include "TimeA2.h"
class Request; class Request;
extern typedef SharedHandle<Request> RequestHandle; typedef SharedHandle<Request> RequestHandle;
class StreamFileAllocationEntry : public FileAllocationEntry { class StreamFileAllocationEntry : public FileAllocationEntry {
private: private:

View File

@ -41,7 +41,7 @@
class DownloadEngine; class DownloadEngine;
class RequestGroup; class RequestGroup;
extern typedef SharedHandle<RequestGroup> RequestGroupHandle; typedef SharedHandle<RequestGroup> RequestGroupHandle;
class TrackerWatcherCommand : public Command, class TrackerWatcherCommand : public Command,
public BtContextAwareCommand, public BtContextAwareCommand,

View File

@ -39,9 +39,9 @@
class Option; class Option;
class DownloadContext; class DownloadContext;
extern typedef SharedHandle<DownloadContext> DownloadContextHandle; typedef SharedHandle<DownloadContext> DownloadContextHandle;
class DiskWriterFactory; class DiskWriterFactory;
extern typedef SharedHandle<DiskWriterFactory> DiskWriterFactoryHandle; typedef SharedHandle<DiskWriterFactory> DiskWriterFactoryHandle;
class UnknownLengthPieceStorage:public PieceStorage { class UnknownLengthPieceStorage:public PieceStorage {
private: private:

View File

@ -44,7 +44,7 @@
#include <ostream> #include <ostream>
class Randomizer; class Randomizer;
extern typedef SharedHandle<Randomizer> RandomizerHandle; typedef SharedHandle<Randomizer> RandomizerHandle;
class BitfieldMan; class BitfieldMan;
#define STRTOLL(X) strtoll(X, (char**)NULL, 10) #define STRTOLL(X) strtoll(X, (char**)NULL, 10)