00001 #ifndef DYBKERNEL_IARCHIVETRIMSVC_H 00002 #define DYBKERNEL_IARCHIVETRIMSVC_H 1 00003 00004 #include "Context/TimeStamp.h" 00005 00006 #include "GaudiKernel/IInterface.h" 00007 00008 class IDataManagerSvc; 00009 00010 // Declaration of the interface ID ( interface id, major version, minor version) 00011 static const InterfaceID IID_IArchiveTrimSvc("IArchiveTrimSvc", 00012 1, 00013 0); 00014 00015 class IArchiveTrimSvc : 00016 virtual public IInterface { 00017 00018 public: 00020 static const InterfaceID& interfaceID() { 00021 return IID_IArchiveTrimSvc; 00022 } 00023 00028 virtual StatusCode trim(IDataManagerSvc* dataStore, 00029 TimeStamp latest) = 0; 00030 00035 virtual const TimeStamp& window(const std::string& path) = 0; 00036 }; 00037 00038 #endif /* DYBKERNEL_IARCHIVETRIMSVC_H */