Michel Loiseleur schrieb:

> Le Thursday 27 September 2007 10:27:53 Zhang Xiaofei, vous avez écrit :
>> Hi dear all,
>>
>> A colleague of mine is doing some work recently where he encountered the
>> SfxObjectShellLock in the sfx2 project, however, though this class can
>> be found declared and used in several
>> places(http://lxr.go-oo.org/search?string=SfxObjectShellLock), the
>> definition cannot be found anywhere. Searching the string as an
>> identifier via http://lxr.go-oo.org/ does not return any results
>> either(http://lxr.go-oo.org/ident?i=SfxObjectShellLock).
>>
>> Could somebody please help to explain where is this class defined, and
>> what is the purpose and usage of this class? Thanks very much in advance.
>>
> That's why you need doxygen ;). It's made with a macro : SV_DECL_LOCK.
> You can find it here : 
> http://lxr.go-oo.org/source/framework/sfx2/inc/sfx2/objsh.hxx#832
> 
> 
>    Though, I don't the purpose and/or usage of this class. 

This class sets a strong lock on an object. If the lock count goes down
to 0 the close() method of the object is called.

Before someone wants to use this class we should talk about why.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to