On Sat, 7 Jan 2012 19:37:28 +0100
"Ludo Brands" <[email protected]> wrote:

> > 
> > No. It needs unit PackageIntf from package IDEIntf. 
> > PackageEditingInterface.DoOpenPackageFile
> 
> OK, that works. 
> I didn't find any doc on this and the lazarus source uses PkgBoss to open a
> package. PackageIntf was already in use for the TPkgOpenFlag enum.

I added an example:
http://wiki.lazarus.freepascal.org/Extending_the_IDE#Open_a_package_file_.28lpk.29

 
> > 
> > > So I have added IDE as
> > > dependency to my package.
> > 
> > I knew that this package would cause trouble.
> > This package is only for testing IDE features - for the IDE 
> > developers. Nothing in the ide package is supported and can 
> > change at any time. I will add a check, so that no package 
> > can be installed that uses the ide.lpk.

The IDE now forbids to install it.


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to