00001 #ifndef FILESERVERFACTORY_H
00002 #define FILESERVERFACTORY_H
00003
00004
00005
00006
00007 #include "srmfileserver.h"
00008
00009 class SRMFileServer;
00010
00014 class FileServerFactory
00015 {
00016 private:
00017
00018
00019
00020
00021
00022
00023 public:
00024 static const QString LOCALFILE_PREFIX;
00025 static const QString FTP_PREFIX;
00026 static const QString SRM_PREFIX;
00027 static const QString GSIFTP_PREFIX;
00028 static const QString HTTP_PREFIX;
00029
00030 FileServerFactory();
00031
00033
00034
00035
00036 static FileServer* createFileServer(QString type);
00037 };
00038
00039 #endif // FILESERVERFACTORY_H