kioslaves/mbox
MBoxFile Class Reference
#include <mboxfile.h>
Inheritance diagram for MBoxFile:

Detailed Description
This class can be used to lock files when implemented.It is a base class for all classes that needs locking and/ir an UrlInfo*.
Definition at line 29 of file mboxfile.h.
Public Member Functions | |
MBoxFile (const UrlInfo *info, MBoxProtocol *parent) | |
~MBoxFile () | |
Protected Member Functions | |
bool | lock () |
void | unlock () |
Protected Attributes | |
const UrlInfo *const | m_info |
MBoxProtocol *const | m_mbox |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 23 of file mboxfile.cc. |
|
Empty destructor.
Definition at line 30 of file mboxfile.cc. |
Member Function Documentation
|
When implemented, this function handles the locking of the file.
Definition at line 34 of file mboxfile.cc. |
|
When implemented, this function unlocks the file.
Definition at line 40 of file mboxfile.cc. |
Member Data Documentation
|
This can be used to get information about the file. The file specified here is the file that must be used. Definition at line 61 of file mboxfile.h. |
|
A instance of the parent protocol, meant to throw errors if neccesairy.
Definition at line 66 of file mboxfile.h. |
The documentation for this class was generated from the following files: