libzypp
17.35.18
final_p.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
----------------------------------------------------------------------/
9
*
10
* This file contains private API, this might break at any time between releases.
11
* You have been warned!
12
*
13
*/
14
#ifndef ZYPP_CURL_NG_NETWORK_PRIVATE_DOWNLOADERSTATES_FINAL_P_H_INCLUDED
15
#define ZYPP_CURL_NG_NETWORK_PRIVATE_DOWNLOADERSTATES_FINAL_P_H_INCLUDED
16
17
#include "
base_p.h
"
18
#include <
zypp-core/zyppng/base/statemachine.h
>
19
20
namespace
zyppng
{
21
26
struct
FinishedState
:
public
SimpleState
< DownloadPrivate, Download::Finished, true >
27
{
28
FinishedState
(
NetworkRequestError
&&error,
DownloadPrivate
&
parent
);
29
30
void
enter
(){}
31
void
exit
(){}
32
33
NetworkRequestError
_error
;
34
};
35
36
}
37
38
#endif
zyppng::Base::parent
WeakPtr parent() const
Definition
base.cc:26
zyppng::DownloadPrivate
Definition
downloader_p.h:90
zyppng::NetworkRequestError
The NetworkRequestError class Represents a error that occured in.
Definition
networkrequesterror.h:24
zyppng::SimpleState
Definition
statemachine.h:600
zyppng
Definition
MediaNetwork.h:23
statemachine.h
zyppng::FinishedState::_error
NetworkRequestError _error
Definition
final_p.h:33
zyppng::FinishedState::exit
void exit()
Definition
final_p.h:31
zyppng::FinishedState::FinishedState
FinishedState(NetworkRequestError &&error, DownloadPrivate &parent)
Definition
final_p.cc:16
zyppng::FinishedState::enter
void enter()
Definition
final_p.h:30
base_p.h
zypp-curl
ng
network
private
downloaderstates
final_p.h
Generated by
1.13.2