From 9f3365d304864e08b2abc6699fb1c21cb28fca5f Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Tue, 23 Nov 2004 16:59:52 +0000 Subject: IcePatch2 --- cpp/src/IcePatch2/FileServerI.h | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 cpp/src/IcePatch2/FileServerI.h (limited to 'cpp/src/IcePatch2/FileServerI.h') diff --git a/cpp/src/IcePatch2/FileServerI.h b/cpp/src/IcePatch2/FileServerI.h new file mode 100644 index 00000000000..29136554afe --- /dev/null +++ b/cpp/src/IcePatch2/FileServerI.h @@ -0,0 +1,42 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICE_PATCH2_FILE_SERVER_I_H +#define ICE_PATCH2_FILE_SERVER_I_H + +#include +#include + +namespace IcePatch2 +{ + +class FileServerI : public FileServer +{ +public: + + FileServerI(const FileInfoSeq&); + + FileInfoSeq getFileInfoSeq(Ice::Int, Ice::Int, const Ice::Current&) const; + + ByteSeqSeq getChecksum2Seq(Ice::Int, const Ice::Current&) const; + + ByteSeqSeq getChecksum1Seq(const Ice::Current&) const; + + Ice::ByteSeq getChecksum0(const Ice::Current&) const; + + Ice::ByteSeq getFileCompressed(const std::string&, Ice::Int pos, Ice::Int num, const Ice::Current&) const; + +private: + + const FileTree0 _tree0; +}; + +} + +#endif -- cgit v1.2.3