Play-/Source/iop/Ioman_ScopedFile.h
2019-09-21 22:36:55 -04:00

24 lines
354 B
C++

#pragma once
#include "Iop_Ioman.h"
namespace Iop
{
namespace Ioman
{
class CScopedFile
{
public:
CScopedFile(uint32, CIoman&);
CScopedFile(const CScopedFile&) = delete;
virtual ~CScopedFile();
operator uint32();
CScopedFile& operator=(const CScopedFile&) = delete;
private:
uint32 m_handle;
CIoman& m_ioman;
};
}
}