KShareFileModule Class Reference
A small KDE Daemon to control shared access to files. Controls shared access to resources. More...
#include <kdedsharedfile.h>
DCOP Member Functions | |
ASYNC | interestedIn (const QString &resource) |
ASYNC | removeInterestIn (const QString &resource) |
bool | readShareFile (const QString &resource) |
bool | readUnshareFile (const QString &resource) |
bool | writeLockFile (const QString &resource) |
bool | writeUnlockFile (const QString &resource) |
Public Member Functions | |
KShareFileModule (const QCString &obj) | |
virtual | ~KShareFileModule () |
Detailed Description
A small KDE Daemon to control shared access to files. Controls shared access to resources.It will be started on demand inside the KDED Server.
- Author:
- Holger 'zecke' Freyther <freyther@kde.org>
- Version:
- : 0.1
Definition at line 33 of file kdedsharedfile.h.
Constructor & Destructor Documentation
|
This is the constructor it takes a QCString as parameter.
|
|
This is the destructor. Definition at line 59 of file kdedsharedfile.cpp. |
Member Function Documentation
|
This function will be called if a module got interest on a resource.
|
|
This function will remove the interest in the resource.
|
|
This will try to share this file for reading multiple resource can have a read share at the same time. If there was no interest in the resource it will be added. see interestedIn
|
|
This will remove a read share.
|
|
This will try to lock a resource for writing only. It will success if there are no locks
|
|
This will unlock the resource.
|
The documentation for this class was generated from the following files: