comp.lang.ada
 help / color / mirror / Atom feed
From: "Lucretia" <lucretia9@lycos.co.uk>
Subject: Re: Private primitive operations available to entire package hierarchy. Can it be done?
Date: 13 Jul 2005 08:40:43 -0700
Date: 2005-07-13T08:40:43-07:00	[thread overview]
Message-ID: <1121269243.013754.57720@g14g2000cwa.googlegroups.com> (raw)
In-Reply-To: JvydnaU7hKTA4FDfRVn-qg@megapath.net

Although the factory that creates an Ada type from a C++ wxWidgets
class name would possibly be ok in the private part of the root package
(wx). Putting all the other primitives I need to be private from
outside of (wx) in the root package isn't possible due to the fact that
the root package (wx) doesn't know about types that those functions may
need (wx.Window.Window_Type). i.e. I have another function which
creates the correct window type from an access type which comes from
the C side of the code, thus it's got an unknown type until it comes
out of this function. This is a problem, and one I have no clue how to
fix.

I'm not too sure I understand what you mean with respect to the
registration packages. I've had to include the factory in wx.Object
package as the registration package has to return a type of
Object_Class and the Object also has to register itself although, I
could possibly change that), thus cyclic dependency!

As for the status of wxAda...I know that a lot of people would like to
use wxWidgets from within Ada, but it's not a trivial task and it's one
I've been working on for at least 6 months (not solidly), maybe more,
I'm not really counting, but:

1) it'll be done when it's done. In other words, once I've got these
problems sorted and I have all the C++ classes wrapped a way that works
and is nice and Ada-like, I'll be posting an announcement to this list.

2) As for the licence, I'd like it to be under the wxWidget licence,
but I'm not sure how compatible that is to the GMGPL (Or whatever it's
called). Basically, I'd like people to be able to use wxAda to create
commercial apps just like they can with wxWidgets without having to
give away the source code as well.

3) I won't be giving away any source before it's finished and hosted
somewhere (whether that's SF, Tigris or if I can get Julian to agree,
wxWidgets, or even my own hosted server, dunno yet) so please don't
ask.

Thanks,
Luke.




  reply	other threads:[~2005-07-13 15:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 16:06 Private primitive operations available to entire package hierarchy. Can it be done? Lucretia
2005-07-07 16:17 ` OT: Joke Adrien Plisson
2005-07-07 16:24   ` Matthew Heaney
2005-07-07 19:10 ` Private primitive operations available to entire package hierarchy. Can it be done? Randy Brukardt
2005-07-13 15:40   ` Lucretia [this message]
2005-07-19 23:19     ` Randy Brukardt
2005-07-20 18:14       ` Lucretia
2005-07-21  3:10         ` Randy Brukardt
2005-07-25 18:14           ` Lucretia
2005-07-25 23:58             ` Randy Brukardt
2005-07-27 17:36               ` Lucretia
2005-07-27 21:28                 ` Randy Brukardt
2005-07-28 10:09                   ` Lucretia
2005-07-29  0:40                     ` Randy Brukardt
2005-08-02 15:55                       ` Lucretia
2005-08-03 18:26                         ` Lucretia
2005-08-03 20:04                           ` Randy Brukardt
2005-08-03 20:03                         ` Randy Brukardt
2005-08-08 18:04                           ` Lucretia
2005-08-08 20:47                             ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox