mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kimgio: theoretical implementation of oj_skip_callback()
there is no documentation on what it is supposed to do so I will guess Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
66b8e20bdb
commit
23fd8af700
1 changed files with 3 additions and 4 deletions
|
@ -96,10 +96,9 @@ static OPJ_BOOL oj_seek_callback(OPJ_OFF_T size, void *data)
|
||||||
|
|
||||||
static OPJ_OFF_T oj_skip_callback(OPJ_OFF_T size, void *data)
|
static OPJ_OFF_T oj_skip_callback(OPJ_OFF_T size, void *data)
|
||||||
{
|
{
|
||||||
kWarning() << "Not implemented";
|
QIODevice* device = static_cast<QIODevice*>(data);
|
||||||
Q_UNUSED(size);
|
device->seek(device->pos() + size);
|
||||||
Q_UNUSED(data);
|
return device->pos();
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue