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.
Definition at line 55 of file kdedsharedfile.cpp. |
|
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.
Definition at line 68 of file kdedsharedfile.cpp. |
|
This function will remove the interest in the resource.
Definition at line 77 of file kdedsharedfile.cpp. |
|
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
Definition at line 93 of file kdedsharedfile.cpp. |
|
This will remove a read share.
Definition at line 111 of file kdedsharedfile.cpp. |
|
This will try to lock a resource for writing only. It will success if there are no locks
Definition at line 127 of file kdedsharedfile.cpp. |
|
This will unlock the resource.
Definition at line 144 of file kdedsharedfile.cpp. |
The documentation for this class was generated from the following files: