ZFFramework
 
Loading...
Searching...
No Matches
ZFPInterface_ZFUIWebView Class Referenceabstract

protocol for ZFUIWebView More...

#include <ZFProtocolZFUIWebView.h>

Inheritance diagram for ZFPInterface_ZFUIWebView:
ZFProtocol

Public Member Functions

virtual const zfcharprotocolName (void) const
 get the name of the protocol module, e.g. "ZFObject"
 
virtual void * nativeWebViewCreate (ZFUIWebView *webView, zfbool &nativeImplViewRequireVirtualIndex)=0
 create native web view
 
virtual void nativeWebViewDestroy (ZFUIWebView *webView, void *nativeWebView)=0
 destroy native web view
 
virtual void loadUrl (ZFUIWebView *webView, const zfchar *url)=0
 see ZFUIWebView::loadUrl
 
virtual void loadHtml (ZFUIWebView *webView, const zfchar *html, const zfchar *baseUrl=zft_zfnull)=0
 see ZFUIWebView::loadHtml
 
virtual void reload (ZFUIWebView *webView)=0
 see ZFUIWebView::reload
 
virtual void loadStop (ZFUIWebView *webView)=0
 see ZFUIWebView::loadStop
 
virtual void goBack (ZFUIWebView *webView)=0
 see ZFUIWebView::goBack
 
virtual void goForward (ZFUIWebView *webView)=0
 see ZFUIWebView::goForward
 
virtual zfbool loading (ZFUIWebView *webView)=0
 see ZFUIWebView::loading
 
virtual zfbool goBackAvailable (ZFUIWebView *webView)=0
 see ZFUIWebView::goBackAvailable
 
virtual zfbool goForwardAvailable (ZFUIWebView *webView)=0
 see ZFUIWebView::goForwardAvailable
 
void notifyWebLoadStateOnUpdate (ZFUIWebView *webView)
 implementations must notify when web load start or stop (both success or fail)
 
- Public Member Functions inherited from ZFProtocol
virtual void protocolOnInit (void)
 called to init the protocol
 
virtual void protocolOnInitFinish (void)
 see protocolOnInit
 
virtual void protocolOnDeallocPrepare (void)
 see protocolOnInit
 
virtual void protocolOnDealloc (void)
 see protocolOnInit
 
virtual ZFProtocolInstanceState protocolInstanceState (void)
 protocol instance's state
 
virtual const zfcharprotocolImplName (void) const
 get the name of the protocol implementation, e.g. "ZFObject_default"
 
virtual ZFProtocolLevel protocolImplLevel (void) const
 get the level of the protocol implementation
 
virtual const zfcharprotocolImplPlatformHint (void) const
 get type hint of the implementation or empty string if not defined, e.g. "iOS:NSString" for iOS's string impl, use ZFPROTOCOL_IMPLEMENTATION_PLATFORM_HINT to register
 
virtual void objectInfoT (zfstring &ret) const
 see objectInfo
 
virtual zfstring objectInfo (void) const
 get a short info about this object
 

Protected Types

typedef ZFProtocol zfsuper
 class ref to super
 
typedef ZFPInterface_ZFUIWebView zfself
 class ref to self
 

Detailed Description

protocol for ZFUIWebView

Member Function Documentation

◆ protocolName()

virtual const zfchar * ZFPInterface_ZFUIWebView::protocolName ( void ) const
inlinevirtual

get the name of the protocol module, e.g. "ZFObject"

Reimplemented from ZFProtocol.


The documentation for this class was generated from the following file: