Re: GObject Serialization



Hi Jody,

thanks for pointing me to that. This is indee part one of what I need.

And for part two I will define types that holds a pointer to a collection, so
that I can use g_param_spec_object / instead of g_param_spec_pointer or
something like that.

Stefan

Jody Goldberg wrote:
> On Mon, Jan 03, 2005 at 08:52:12PM +0100, Sven Neumann wrote:
> 
>>Hi,
>>
>>Stefan Kost <kost imn htwk-leipzig de> writes:
>>
>>
>>>I've commented to the post, so I'll get updates as well. It is a
>>>pity, that we can't simply extend the GParamSpecs
>>
>>why don't you simply extend the GParamSpecs? We've successfully done
>>that in GIMP. Where exactly is the problem?
> 
> 
> Sounds like all you're looking for is the ability to add some custom
> flags to your parameters on declaration.  In libgoffice (part of
> gnumeric) we use
> 
>     #define GOG_PARAM_PERSISTENT	(1 << (G_PARAM_USER_SHIFT+0))
>     #define GOG_PARAM_FORCE_SAVE	(1 << (G_PARAM_USER_SHIFT+1))	/* even if the value == default */
> 
> 

-- 
      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ - - -  -   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach 301166
|      ///           04277 Leipzig      04251 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail    st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
|           WWW      www.sonicpulse.de  www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -
begin:vcard
fn:Stefan Kost
n:Kost;Stefan
org:HTWK Leipzig;FB. IMN
adr:;;Postfach 301166;Leipzig;;04251;Germany
email;internet:kost imn htwk-leipzig de
title:Dipl. Informatiker
tel;work:+49341 30766440
tel;home:+49341 2253538
tel;cell:+49178 3183742
x-mozilla-html:FALSE
url:http://www.imn.htwk-leipzig.de/~kost/about.html
version:2.1
end:vcard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]