libzypp 17.31.23
normal_p.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8----------------------------------------------------------------------*/
9
12
13#include "normal_p.h"
14#include "final_p.h"
15
16namespace zyppng {
17
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}
DownloadSpec _spec
Definition: base_p.h:98
const Url & url() const
Definition: downloadspec.cc:50
Definition: Arch.h:361
std::shared_ptr< FinishedState > transitionToFinished()
Definition: normal_p.cc:29
DlNormalFileState(DownloadPrivate &parent)
Definition: normal_p.cc:18
#define MIL
Definition: Logger.h:96