[Webkit-unassigned] [Bug 14678] [gdk] API Drafting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 22 14:07:05 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14678





------- Comment #9 from freyther at handhelds.org  2007-07-22 14:07 PDT -------
(In reply to comment #7)
> (From update of attachment 15624 [edit])

> 
> +    WebKitGtkFrame* frame = static_cast<FrameGdk*>(m_frame)->gtkFrame();
> 
> In Mac/Windows WebKit we have a set of overloaded kit()/core() functions to do
> this kind of translation between WebKit and WebCore types.
> 
> +typedef struct _WebKitGtkPage WebKitGtkPage;
> 
> You can just say `struct WebKitGtkPage` since this is C++ code.
> 
> +typedef struct _WebKitGtkFrame WebKitGtkFrame;
> 
> Ditto.
> 

I gave it a try and ended with this (the API is C).

../../../WebCore/platform/gdk/FrameGdk.h:36: error: conflicting declaration
'typedef struct _WebKitGtkFrame WebKitGtkFrame'
../../../WebCore/loader/gdk/FrameLoaderClientGdk.h:36: error: 'struct
WebKitGtkFrame' has a previous declaration as 'struct WebKitGtkFrame'


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list