libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CredentialFileReader.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_MEDIA_CREDENTIALFILEREADER_H
13
#define ZYPP_MEDIA_CREDENTIALFILEREADER_H
14
15
#include "
zypp/base/Function.h
"
16
#include "
zypp/Url.h
"
17
#include "
zypp/Pathname.h
"
18
19
#include "
zypp/media/MediaUserAuth.h
"
20
22
namespace
zypp
23
{
24
namespace
media
26
{
27
28
30
//
31
// CLASS NAME : CredentialFileReader
32
//
33
class
CredentialFileReader
34
{
35
public
:
44
typedef
function<bool(AuthData_Ptr &)>
ProcessCredentials
;
45
46
CredentialFileReader
(
const
Pathname & crfile,
47
const
ProcessCredentials
& callback);
48
~CredentialFileReader
();
49
private
:
50
ProcessCredentials
_callback
;
51
};
53
54
56
}
// media
59
}
// zypp
61
62
#endif
/* ZYPP_MEDIA_CREDENTIALFILEREADER_H */
Pathname.h
zypp::media::CredentialFileReader::_callback
ProcessCredentials _callback
Definition:
CredentialFileReader.h:50
zypp::media::CredentialFileReader::ProcessCredentials
function< bool(AuthData_Ptr &)> ProcessCredentials
Callback definition.
Definition:
CredentialFileReader.h:44
Url.h
zypp::media::CredentialFileReader::CredentialFileReader
CredentialFileReader(const Pathname &crfile, const ProcessCredentials &callback)
Definition:
CredentialFileReader.cc:40
zypp::media::CredentialFileReader
Definition:
CredentialFileReader.h:33
Function.h
MediaUserAuth.h
Convenience interface for handling authentication data of media user.
zypp::media::CredentialFileReader::~CredentialFileReader
~CredentialFileReader()
Definition:
CredentialFileReader.cc:90
zypp
media
CredentialFileReader.h
Generated by
1.8.5