Hi Éric,

> Sorry for the newbye question, but what do you call "helpers"?

classes which help you bridging the gap between one or more UNO
interface/s and a concrete implementation of this/those interface/s :)


For instance, if you have a class which should implement XPropertySet,
XMultiPropertySet, and XFastPropertySet, you could implement all their
methods manually - which would be a lot of code, especially if you care
for listener notifications, thread safety, and the like.

Or, you derive from ::cppu::OPropertySetHelper, and implement only a few
methods, basically saying "get property value number X", "set property
value number X", "get information about all properties".


There's a lot classes like this, which help you avoiding all the
repeating work which usually is involved with implementing a particular
interface.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

Reply via email to