RFC: KConfig & Lock File API
Frerich Raabe
raabe at kde.org
Tue Apr 27 19:13:06 BST 2004
On Tuesday 27 April 2004 17:31, Waldo Bastian wrote:
> I would like to have your comments on the following API changes.
A ctor overload which automatically calls lock() would be very nice (that is,
another ctor which takes an int parameter), so that one can create locks in
one line and use curly braces to define the scope of the lock (much like
KConfigGroupSaver).
The documentation for the dtor is a little suboptimal, IMHO it should say
"Destroys the object, releasing the lock if any." or something like that
instead of "calls unlock()" (the latter is an implementation detail).
- Frerich
More information about the kde-core-devel
mailing list