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

Re: [Vala] Friend class?

2009-03-10 Thread Yu Feng
On Tue, 2009-03-10 at 08:25 +0700, Hans Baier wrote: 2009/3/10 Yu Feng rainwood...@gmail.com: 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

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 as

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 to support

[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

Re: [Vala] Friend class?

2009-03-09 Thread Hans Baier
2009/3/10 Yu Feng rainwood...@gmail.com: 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