>>      So its the other way around, other clients can interpret
>>      preferences how they wish without being imposed on by
>>      address book semantics, i.e 'abldapdirectory'
>
>OK, thanks.  I think I get it now: you're using it as a layer of
>indirection to keep out unnecessary dependencies on the specific
>preferences used.  A fine goal; we're also trying to keep the LDAP XPCOM
>SDK (formerly known as the wrapper) from depending on preferences at
>all.
>

        Absolutely, v. important if preference storage
        changes; or preferences are obtained from a
        different source (like an LDAP server :-)); or
        for scripting.
        
        It also ensures that address book components
        can be plugged in dynamicaly without having
        to change any code. Just edit the preferences
        file directly (!) or indirectly (via GUI if
        there is one for the address book type).
        I just hope the nsDirPrefs code can cope....

Thanks, 
Paul.
        
| ? + ? = To question
----------------\
   Paul Sandoz
        x19219
+353-1-8199219
 

Reply via email to