[sugar] patch - editable GeckoEmbed subclass

Robert Staudinger robert.staudinger
Sat Jul 29 09:03:25 EDT 2006


Hi,

the attached patch introduces
  GeckoEdit -----|> GeckoEmbed
  Editor -----|> Browser
  geckoembed.Edit -----|> geckoembed.Embed

It's a bit more intrusive than I had hoped:
because of the gecko-embed/src dir layout (rather than
gecko-embed/gecko-embed) the public headers cannot easily include each
other. Therefore gecko-embed-private.h has been split out of
gecko-embed.h. The -private header is included from the subclass'
gecko-edit-private.h.

The editable subclass does not yet provide any methods but attached
you will find test samples that show it works. Python bindings are
updated to wrap the new class.

Ok to commit?

- Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gecko-edit.diff.gz
Type: application/x-gzip
Size: 7089 bytes
Desc: not available
Url : http://mailman.laptop.org/pipermail/sugar/attachments/20060729/94f68b97/gecko-edit.diff.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gecko-edit-test.c
Type: text/x-csrc
Size: 827 bytes
Desc: not available
Url : http://mailman.laptop.org/pipermail/sugar/attachments/20060729/94f68b97/gecko-edit-test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gecko-embed-test.py
Type: text/x-python
Size: 274 bytes
Desc: not available
Url : http://mailman.laptop.org/pipermail/sugar/attachments/20060729/94f68b97/gecko-embed-test.py


More information about the Sugar-devel mailing list