On Sat, 2003-03-08 at 15:01, Murray Cumming wrote: > On Sat, 2003-03-08 at 15:26, Joaquin Cuenca Abela wrote: > > Murray wrote: > > > > > > > but in fact, you can't do much better if you generate code. > > > > > > C++ has the concept of inheritance. glademm generates only > > > base classes. > > > User-written code is in user-written derived classes. > > > > That's irrelevant. The question is: what happens when the user edits > > code that he shouldn't edit and later it regenerates this code? > > He shouldn't. He doesn't have any need to.
In the same sense that when you do a singleton the user should use a ::getInstance method, but you still make the constructors private. Just to be sure. There is an important difference between "he shouldn't" and "he can't". Cheers, _______________________________________________ Glade-devel maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/glade-devel