Public Member Functions | |
FileReference () | |
FileReference (const String &cPath, bool bFollowLinks=false) | |
FileReference (const Directory &cDir, const String &cName, bool bFollowLinks=false) | |
FileReference (const FileReference &cRef) | |
virtual | ~FileReference () |
status_t | SetTo (const String &cPath, bool bFollowLinks=false) |
status_t | SetTo (const Directory &cDir, const String &cName, bool bFollowLinks=false) |
status_t | SetTo (const FileReference &cRef) |
void | Unset () |
bool | IsValid () const |
String | GetName () const |
status_t | GetPath (String *pcPath) const |
int | Rename (const String &cNewName) |
status_t | Delete () |
Window * | RenameDialog (const Messenger &cMsgTarget, Message *pcChangeMsg) |
Create a dialog which can be used to rename a directory or file. | |
Window * | InfoDialog (const Messenger &cMsgTarget, Message *pcChangeMsg) |
Create a dialog which shows information about a file or directory. | |
status_t | GetStat (struct stat *psStat) const |
const Directory & | GetDirectory () const |
Classes | |
class | Private |
FileReference::FileReference | ( | ) |
FileReference::FileReference | ( | const String & | cPath, | |
bool | bFollowLinks = false | |||
) |
FileReference::FileReference | ( | const Directory & | cDir, | |
const String & | cName, | |||
bool | bFollowLinks = false | |||
) |
FileReference::FileReference | ( | const FileReference & | cRef | ) |
FileReference::~FileReference | ( | ) | [virtual] |
int FileReference::SetTo | ( | const String & | cPath, | |
bool | bFollowLinks = false | |||
) |
int FileReference::SetTo | ( | const Directory & | cDir, | |
const String & | cName, | |||
bool | bFollowLinks = false | |||
) |
status_t FileReference::SetTo | ( | const FileReference & | cRef | ) |
void FileReference::Unset | ( | ) |
bool FileReference::IsValid | ( | ) | const |
String FileReference::GetName | ( | ) | const |
status_t FileReference::GetPath | ( | String * | pcPath | ) | const |
status_t FileReference::Rename | ( | const String & | cNewName | ) |
status_t FileReference::Delete | ( | ) |
cMsgTarget | - The target that will receive the message. | |
pcMsg | - The message that will be sent. |
cMsgTarget | - The target that will receive the message. | |
pcMsg | - The message that will be sent. |
status_t FileReference::GetStat | ( | struct stat * | psStat | ) | const |
const Directory & FileReference::GetDirectory | ( | ) | const |