|
From: John P. <jo...@ma...> - 2000-11-21 18:35:26
|
>
>
> If one is using kdevelop to create the shared libraries, it uses libtool which
> automatically uses the versioning scheme I mentioned. Therefore, I think it is
> very important to only find the files with the correct extension.
>
Well, I think that this is application specific and not SOMELib specific. Say
I wanted to end all my libraries with the extention .plug so that it can be
associated with a mime type? In the current scheme I could do this but if you
enforce library extentions then this is not possible. I did a test by creating a
soft link to one of the libraries in complexmenu. It does load the lib 2 times.
I belive that to avoid this we should be checking if a library is already loaded
(Which I thought it did) and to not load it twice. Perhaps we should give
libraries UID's. I think that once wildcard (regular expression) matches and text
file loading are implemented a developer will have the option of restricting what
extentions are loaded. Perhaps you would feel better if we restricted directory
loading so that you would have to supply a wildcard? i.e. To load a entire
directory you would have to use Path p = "plugins/*" and not just Path p =
"plugins/"? That way a developer would have to deliberatly say I want all files
in this directory no matter what.
On a side note, have you gotten the assignment operator to work? It is a lot
nicer to say Path p="plugins/" instead of Path p; p.set("plugins/"); I don't know
why it was not working for me.
--Quinticent
>
> --
> Thomas O Matelich
> Senior Software Designer
> Zetec, Inc.
> sos...@us...
> tma...@ze...
>
> _______________________________________________
> somelib-devel mailing list
> som...@li...
> http://lists.sourceforge.net/mailman/listinfo/somelib-devel
|