ff7tk
1.2.0.13
Work with Final Fantasy 7 game data
src
utils
IO.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2009 - 2022 Arzel Jérôme <myst6re@gmail.com>
2
// SPDX-License-Identifier: LGPL-3.0-or-later
3
4
#pragma once
5
6
#include <QtCore>
7
#include <ff7tkutils_export.h>
8
9
class
FF7TKUTILS_EXPORT
IO
10
{
11
public
:
12
explicit
IO
(QIODevice *device);
13
virtual
~
IO
();
14
inline
void
setDevice
(QIODevice *device) { _device = device; }
15
inline
QIODevice *
device
()
const
{
return
_device; }
16
bool
canRead()
const
;
17
bool
canWrite()
const
;
18
private
:
19
QIODevice *_device;
20
};
IO::setDevice
void setDevice(QIODevice *device)
Definition:
IO.h:14
IO
Definition:
IO.h:9
IO::device
QIODevice * device() const
Definition:
IO.h:15
Generated by
1.8.17