libzypp
17.31.23
normal_p.cc
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
----------------------------------------------------------------------*/
9
10
#include <
zypp-curl/ng/network/private/downloader_p.h
>
11
#include <
zypp-curl/ng/network/private/mediadebug_p.h
>
12
13
#include "
normal_p.h
"
14
#include "
final_p.h
"
15
16
namespace
zyppng
{
17
18
DlNormalFileState::DlNormalFileState
(
DownloadPrivate
&parent ) :
BasicDownloaderStateBase
( parent )
19
{
20
MIL
<<
"About to enter DlNormalFileState for url "
<< parent.
_spec
.
url
() << std::endl;
21
}
22
23
24
DlNormalFileState::DlNormalFileState
( std::shared_ptr<Request> &&oldReq,
DownloadPrivate
&parent ) :
BasicDownloaderStateBase
(
std
::move(oldReq), parent )
25
{
26
MIL
<<
"About to enter DlNormalFileState for url "
<< parent.
_spec
.
url
() << std::endl;
27
}
28
29
std::shared_ptr<FinishedState>
DlNormalFileState::transitionToFinished
()
30
{
31
return
std::make_shared<FinishedState>( std::move(
_error
), stateMachine() );
32
}
33
34
35
}
zyppng::DownloadPrivateBase::_spec
DownloadSpec _spec
Definition:
base_p.h:98
zyppng::DownloadPrivate
Definition:
downloader_p.h:90
zyppng::DownloadSpec::url
const Url & url() const
Definition:
downloadspec.cc:50
downloader_p.h
final_p.h
mediadebug_p.h
std
Definition:
Arch.h:361
zyppng
Definition:
MediaNetwork.h:23
normal_p.h
zyppng::BasicDownloaderStateBase
Definition:
basicdownloader_p.h:27
zyppng::BasicDownloaderStateBase::_error
NetworkRequestError _error
Definition:
basicdownloader_p.h:63
zyppng::DlNormalFileState::transitionToFinished
std::shared_ptr< FinishedState > transitionToFinished()
Definition:
normal_p.cc:29
zyppng::DlNormalFileState::DlNormalFileState
DlNormalFileState(DownloadPrivate &parent)
Definition:
normal_p.cc:18
MIL
#define MIL
Definition:
Logger.h:96
zypp-curl
ng
network
private
downloaderstates
normal_p.cc
Generated by
1.9.6