mirror of
https://github.com/ksherlock/profuse.git
synced 2026-04-20 14:16:37 +00:00
Add Read/Write flags for File::, etc instead of using bool
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@297 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -23,7 +23,7 @@ using ProFUSE::Exception;
|
||||
using ProFUSE::POSIXException;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
DiskImage::DiskImage(const char *name, bool readOnly)
|
||||
{
|
||||
File fd(name, readOnly ? O_RDONLY : O_RDWR);
|
||||
@@ -34,7 +34,7 @@ DiskImage::DiskImage(const char *name, bool readOnly)
|
||||
_readOnly = readOnly;
|
||||
_adaptor = NULL;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
DiskImage::DiskImage(MappedFile *file)
|
||||
{
|
||||
@@ -102,13 +102,6 @@ void DiskImage::sync()
|
||||
|
||||
|
||||
|
||||
/*
|
||||
ProDOSOrderDiskImage::ProDOSOrderDiskImage(const char *name, bool readOnly) :
|
||||
DiskImage(name, readOnly)
|
||||
{
|
||||
Validate(file());
|
||||
}
|
||||
*/
|
||||
|
||||
ProDOSOrderDiskImage::ProDOSOrderDiskImage(MappedFile *file) :
|
||||
DiskImage(file)
|
||||
|
||||
Reference in New Issue
Block a user