Re: GConf design goals.
- From: Havoc Pennington <hp redhat com>
- To: Dietmar Maurer <dietmar ximian com>
- Cc: Colm Smyth <Colm Smyth Sun COM>, gconf-list gnome org
- Subject: Re: GConf design goals.
- Date: 05 Mar 2001 15:48:36 -0500
Dietmar Maurer <dietmar ximian com> writes:
> Another handy CORBA_any feature are type aliases. A type alias is simply
> another name for a type, nothing more. This is quite useful since it gives
> you some more info about the type. For example:
>
> typedef string ContentType;
>
> which defines ContentType to be string. An generic editor can use this meta
> info to
> provide specialized editing features (maybe provide a list of mime types).
>
It wouldn't be a generic editor if it contained:
if (typename == "ContentType")
display_list_of_mime_types();
if would be an editor with special-case knowledge of this config
setting. ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]