Re: [Vala] Friend class?

2009-03-12 Thread Uwe Strempel
Hello, I think friend class should not supported in vala. If you use them that shows that code should be redisgned. In c# and other programming language there is a programming paradigm for explicit or hidden interfaces. I think that would be a better approuch. In c# it is also possible to define in

Re: [Vala] Friend class?

2009-03-11 Thread Jürg Billeter
On Tue, 2009-03-10 at 23:10 -0400, Yu Feng wrote: > On Tue, 2009-03-10 at 08:07 +0100, Jürg Billeter wrote: > > On Mon, 2009-03-09 at 20:36 -0400, Yu Feng wrote: > > > Dear list, > > > > > > Are friend classes available in VALA? If not, are there any particular > > > reason against it, and are the

Re: [Vala] Friend class?

2009-03-10 Thread Yu Feng
On Tue, 2009-03-10 at 08:07 +0100, Jürg Billeter wrote: > On Mon, 2009-03-09 at 20:36 -0400, Yu Feng wrote: > > Dear list, > > > > Are friend classes available in VALA? If not, are there any particular > > reason against it, and are there any alternatives for friend classes? > > There is no plan

Re: [Vala] Friend class?

2009-03-10 Thread Jürg Billeter
On Mon, 2009-03-09 at 20:36 -0400, Yu Feng wrote: > Dear list, > > Are friend classes available in VALA? If not, are there any particular > reason against it, and are there any alternatives for friend classes? There is no plan to support friend classes in Vala. The `internal' modifier is as close

Re: [Vala] Friend class?

2009-03-09 Thread Yu Feng
On Tue, 2009-03-10 at 08:25 +0700, Hans Baier wrote: > 2009/3/10 Yu Feng : > > Dear list, > > > > Are friend classes available in VALA? If not, are there any particular > > reason against it, and are there any alternatives for friend classes? > > > > Regards, > > > > Yu > > If you need friend clas

Re: [Vala] Friend class?

2009-03-09 Thread Hans Baier
2009/3/10 Yu Feng : > Dear list, > > Are friend classes available in VALA? If not, are there any particular > reason against it, and are there any alternatives for friend classes? > > Regards, > > Yu If you need friend classes, you should probably redesign the code. What do you need them for? Ha

[Vala] Friend class?

2009-03-09 Thread Yu Feng
Dear list, Are friend classes available in VALA? If not, are there any particular reason against it, and are there any alternatives for friend classes? Regards, Yu ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/v