mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
25 lines
354 B
C
25 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;
|
||
|
};
|
||
|
}
|
||
|
}
|