On Sat, 13 May 2006 08:29:33 +0200
Vincent Snijders <[EMAIL PROTECTED]> wrote:

> Felipe Monteiro de Carvalho wrote:
> > On 5/12/06, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> > 
> >> Why isn't it extensible?
> >>
> >> Multiple databases:
> >> See procedure THelpManager.RegisterIDEHelpDatabases
> >>
> >> Multiple viewers is also possible:
> >> Extend procedure THelpManager.RegisterDefaultIDEHelpViewers;
> 
> Here only one HelpViewer is registered. In your own app you can register 
> as much as you want. The IDE has only one help viewer standard available.
> > 
> > 
> > But this procedures have no parameters!
> > 
> > It is just my oppinion, but I think that a model with Interfaces to be
> > implemented is more straigth forward and easier to be understood for
> > people creating software with Lazarus.
> 
> I see it seems hard to read code indeed.
> 
> > Looking at HelpIntfs the way it is currently, it´s very hard to find
> > out what should I implement, what class to derive from to build by own
> > viewer / db? Also a interface has a advantage here that it can be
> > utilized on a class derived from anything.
> 
> Because the originate from fpc 1.0 era, they are not interfaces, but 
> abstract classes.

Yes. And interfaces are needed for forms.pp, controls.pp anyway. That's why
I will add them.
When they are moved to the LCL and integrated with interfaces I will add
examples.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to