libzypp
17.14.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MediaISO.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_MEDIA_MEDIAISO_H
13
#define ZYPP_MEDIA_MEDIAISO_H
14
15
#include "
zypp/media/MediaHandler.h
"
16
#include "
zypp/media/MediaManager.h
"
17
19
namespace
zypp
20
{
21
23
namespace
media
24
{
25
26
28
//
29
// CLASS NAME : MediaISO
30
//
35
class
MediaISO
:
public
MediaHandler
36
{
37
private
:
38
Pathname
_isofile
;
39
std::string
_filesystem
;
40
41
protected
:
42
43
virtual
void
attachTo
(
bool
next =
false
)
override
;
44
virtual
void
releaseFrom
(
const
std::string & ejectDev =
""
)
override
;
45
virtual
void
getFile
(
const
Pathname & filename,
const
ByteCount
&expectedFileSize_r )
const override
;
46
virtual
void
getDir
(
const
Pathname & dirname,
bool
recurse_r )
const override
;
47
virtual
void
getDirInfo
( std::list<std::string> & retlist,
48
const
Pathname & dirname,
bool
dots =
true
)
const override
;
49
virtual
void
getDirInfo
(
filesystem::DirContent
& retlist,
50
const
Pathname & dirname,
bool
dots =
true
)
const override
;
51
virtual
bool
getDoesFileExist
(
const
Pathname & filename )
const override
;
52
53
public
:
54
55
MediaISO
(
const
Url
&url_r,
56
const
Pathname &attach_point_hint_r);
57
58
virtual
59
~MediaISO
()
override
;
60
61
virtual
bool
62
isAttached
()
const override
;
63
};
64
65
67
}
// namespace media
69
71
}
// namespace zypp
73
74
#endif // ZYPP_MEDIA_MEDIAISO_H
75
76
// vim: set ts=2 sts=2 sw=2 ai et:
77
zypp
media
MediaISO.h
Generated by
1.8.2