00001 #ifndef _DCCCONFIGURATION_H_ 00002 #define _DCCCONFIGURATION_H_ 00003 00004 #include "Configuration.h" 00005 #include "Dcc.h" 00006 #include <vector> 00007 00011 class DccConfiguration : public Configuration{ 00012 00013 private : 00014 00015 public: 00016 DccConfiguration(); 00017 ~DccConfiguration(); 00018 00019 void download(int maj, int min) throw (ILCException::Exception); 00020 Version* upload(string n) const throw (ILCException::Exception); 00021 Version* upload(int maj, string n) const throw (ILCException::Exception); 00022 Version* upload(int maj, int min) const; 00023 void addFromXML(string fileName) throw (ILCException::Exception); 00028 static vector<Version*> getUnusedVersions() throw (ILCException::Exception); 00029 }; 00030 00031 #endif