mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
22 lines
444 B
C
22 lines
444 B
C
|
#ifndef DEVICEWRAPPERBLOCKCACHEENTRY_H
|
||
|
#define DEVICEWRAPPERBLOCKCACHEENTRY_H
|
||
|
|
||
|
/*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
* Copyright (C) 2022 Raspberry Pi Ltd
|
||
|
*/
|
||
|
|
||
|
#include <QObject>
|
||
|
|
||
|
class DeviceWrapperBlockCacheEntry : QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
DeviceWrapperBlockCacheEntry(QObject *parent, size_t blocksize = 4096);
|
||
|
~DeviceWrapperBlockCacheEntry();
|
||
|
char *block;
|
||
|
bool dirty;
|
||
|
};
|
||
|
|
||
|
#endif // DEVICEWRAPPERBLOCKCACHEENTRY_H
|