libzypp 17.38.3
susetags.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#ifndef ZYPP_NG_SUSETAGS_WORKFLOW_INCLUDED
10#define ZYPP_NG_SUSETAGS_WORKFLOW_INCLUDED
11
12#include <zypp/RepoInfo.h>
13#include <zypp/ng/repo/Downloader>
14#include <zypp-core/ng/async/task.h>
15#include <zypp-core/ng/pipelines/Expected>
16
17#include <zypp/ManagedFile.h>
18
19
20namespace zyppng {
22 class SyncMediaHandle;
23
25
31 namespace SuseTagsWorkflows {
32
36 MaybeAwaitable<expected<zypp::RepoStatus>> repoStatus( repo::DownloadContextRef dl, ProvideMediaHandle mediaHandle );
37
41 MaybeAwaitable<expected<repo::DownloadContextRef>> download ( repo::DownloadContextRef dl, ProvideMediaHandle mediaHandle, ProgressObserverRef progressObserver = nullptr );
42 }
43}
44
45
46
47#endif // ZYPP_NG_SUSETAGS_WORKFLOW_INCLUDED
Download workflow namespace for SUSETags (YaST2) repositories Encapsulates all the knowledge of which...
Definition susetags.cc:28
MaybeAwaitable< expected< repo::DownloadContextRef > > download(repo::DownloadContextRef dl, ProvideMediaHandle mediaHandle, ProgressObserverRef progressObserver)
Definition susetags.cc:312
MaybeAwaitable< expected< zypp::RepoStatus > > repoStatus(repo::DownloadContextRef dl, ProvideMediaHandle mediaHandle)
Definition susetags.cc:78
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)
Definition zyppglobal.h:126