libzypp 17.31.23
Digest.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
15#ifndef ZYPP_MEDIA_DIGEST_H
16#define ZYPP_MEDIA_DIGEST_H
17
18#include <zypp-core/Digest.h>
19
20#include <zypp/Callback.h>
21#include <zypp/Pathname.h>
22
23namespace zypp {
24
26 {
27 virtual bool askUserToAcceptNoDigest( const zypp::Pathname &file );
28 virtual bool askUserToAccepUnknownDigest( const Pathname &file, const std::string &name );
29 virtual bool askUserToAcceptWrongDigest( const Pathname &file, const std::string &requested, const std::string &found );
30 };
31
32} // namespace zypp
33#endif
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2
virtual bool askUserToAcceptNoDigest(const zypp::Pathname &file)
Definition: Digest.cc:30
virtual bool askUserToAcceptWrongDigest(const Pathname &file, const std::string &requested, const std::string &found)
Definition: Digest.cc:36
virtual bool askUserToAccepUnknownDigest(const Pathname &file, const std::string &name)
Definition: Digest.cc:33