PIDeque bugs fixed
git-svn-id: svn://db.shs.com.ru/pip@27 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -32,7 +32,7 @@ class PIP_EXPORT PIFile: public PIIODevice
|
||||
public:
|
||||
|
||||
//! Constructs an empty file
|
||||
PIFile();
|
||||
explicit PIFile();
|
||||
|
||||
struct FileInfo {
|
||||
FileInfo() {size = 0; id_group = id_user = 0;}
|
||||
@@ -84,7 +84,9 @@ public:
|
||||
};
|
||||
|
||||
//! Constructs a file with path "path" nad open mode "type"
|
||||
PIFile(const PIString & path, DeviceMode mode = ReadWrite);
|
||||
explicit PIFile(const PIString & path, DeviceMode mode = ReadWrite);
|
||||
|
||||
PIFile(const PIFile & other);
|
||||
|
||||
~PIFile() {close();}
|
||||
|
||||
@@ -246,7 +248,7 @@ public:
|
||||
EVENT_HANDLER2(void, resize, llong, new_size, uchar, fill);
|
||||
|
||||
|
||||
//! Returns not opened temporary file with open mode "mode"
|
||||
//! Returns opened temporary file with open mode "mode"
|
||||
static PIFile openTemporary(PIIODevice::DeviceMode mode = PIIODevice::ReadWrite) {return PIFile(PIString(tmpnam(0)), mode);}
|
||||
|
||||
//! Returns if file with path "path" does exists
|
||||
|
||||
Reference in New Issue
Block a user