00001 #ifndef DYBKERNEL_IDYBSTORAGESVC_H 00002 #define DYBKERNEL_IDYBSTORAGESVC_H 1 00003 00004 #include "GaudiKernel/IInterface.h" 00005 #include <string> 00006 00007 // Declaration of the interface ID ( interface id, major version, minor version) 00008 static const InterfaceID IID_IDybStorageSvc("IDybStorageSvc", 00009 1, 00010 0); 00011 00012 class IRegistrationSequence; 00013 class DataObject; 00014 00015 class IDybStorageSvc : 00016 virtual public IInterface { 00017 00018 public: 00020 static const InterfaceID& interfaceID() { 00021 return IID_IDybStorageSvc; 00022 } 00023 00024 virtual StatusCode store(const IRegistrationSequence& regSeq) = 0; 00025 virtual StatusCode store(DataObject* object, const std::string& path) = 0; 00026 }; 00027 00028 #endif /* DYBKERNEL_IDYBSTORAGESVC_H */