[PATCH 4/5] riched20: Stub for ITextFont interface and implement ITextRange::GetFont.
Huw Davies
huw at codeweavers.com
Wed Sep 17 05:23:02 CDT 2014
On Wed, Sep 17, 2014 at 05:39:23PM +0800, Jactry Zeng wrote:
>
> +typedef struct ITextFontImpl {
> + ITextFont ITextFont_iface;
> + LONG ref;
> + struct list entry;
> +
> + IRichEditOleImpl *reOle;
> + ITextRangeImpl *txtRge;
> + ITextSelectionImpl *txtSel;
> +} ITextFontImpl;
Since the ITextFont objects do hold a ref on their parent range /
selection objects I don't think we need the list stuff again.
I wouldn't store the reOle pointer here, but use txtRge / txtSel
to access it (and check for disconnections). You probably
want a helper function to do that.
Huw.
More information about the wine-devel
mailing list