|
KiCad PCB EDA Suite
|
Typedefs | |
| typedef struct _WebKitWebView | WebKitWebView |
| typedef struct _WebKitWebContext | WebKitWebContext |
| typedef struct _WebKitWebsiteDataManager | WebKitWebsiteDataManager |
| typedef WebKitWebContext *(* | webkit_web_view_get_context_t) (WebKitWebView *) |
| typedef WebKitWebsiteDataManager *(* | webkit_web_context_get_website_data_manager_t) (WebKitWebContext *) |
| typedef void(* | webkit_website_data_manager_clear_t) (WebKitWebsiteDataManager *, WebKitWebsiteDataTypes, int64_t, void *, void *, void *) |
Enumerations | |
| enum | WebKitWebsiteDataTypes { WEBKIT_WEBSITE_DATA_COOKIES = 1 << 8 } |
Functions | |
| bool | SaveCookies (wxWebView *aWebView, const wxString &aTargetFile) |
| Save cookies from the given WebView to the specified file. | |
| bool | LoadCookies (wxWebView *aWebView, const wxString &aSourceFile) |
| Load cookies from the specified file into the given WebView. | |
| bool | DeleteCookies (wxWebView *aWebView) |
| Delete all cookies from the given WebView. | |
| typedef WebKitWebsiteDataManager *(* KIPLATFORM::WEBVIEW::webkit_web_context_get_website_data_manager_t) (WebKitWebContext *) |
Definition at line 46 of file wxgtk/webview.cpp.
| typedef WebKitWebContext *(* KIPLATFORM::WEBVIEW::webkit_web_view_get_context_t) (WebKitWebView *) |
Definition at line 45 of file wxgtk/webview.cpp.
| typedef void(* KIPLATFORM::WEBVIEW::webkit_website_data_manager_clear_t) (WebKitWebsiteDataManager *, WebKitWebsiteDataTypes, int64_t, void *, void *, void *) |
Definition at line 47 of file wxgtk/webview.cpp.
| typedef struct _WebKitWebContext KIPLATFORM::WEBVIEW::WebKitWebContext |
Definition at line 36 of file wxgtk/webview.cpp.
| typedef struct _WebKitWebsiteDataManager KIPLATFORM::WEBVIEW::WebKitWebsiteDataManager |
Definition at line 37 of file wxgtk/webview.cpp.
| typedef struct _WebKitWebView KIPLATFORM::WEBVIEW::WebKitWebView |
Definition at line 35 of file wxgtk/webview.cpp.
| Enumerator | |
|---|---|
| WEBKIT_WEBSITE_DATA_COOKIES | |
Definition at line 40 of file wxgtk/webview.cpp.
| bool KIPLATFORM::WEBVIEW::DeleteCookies | ( | wxWebView * | aWebView | ) |
Delete all cookies from the given WebView.
This function removes all cookies from the WebView's native backend.
| aWebView | The WebView to delete cookies from. Must not be null. |
Definition at line 61 of file wxgtk/webview.cpp.
References WEBKIT_WEBSITE_DATA_COOKIES.
Referenced by PANEL_REMOTE_SYMBOL::onConfigure().
| bool KIPLATFORM::WEBVIEW::LoadCookies | ( | wxWebView * | aWebView, |
| const wxString & | aSourceFile ) |
Load cookies from the specified file into the given WebView.
This function reads cookies from a JSON file and injects them into the WebView's native backend. The WebView should already be created and initialized before calling this function.
| aWebView | The WebView to load cookies into. Must not be null. |
| aSourceFile | Full path to the file containing saved cookies. |
Definition at line 55 of file wxgtk/webview.cpp.
Referenced by PANEL_REMOTE_SYMBOL::LoadCookies().
| bool KIPLATFORM::WEBVIEW::SaveCookies | ( | wxWebView * | aWebView, |
| const wxString & | aTargetFile ) |
Save cookies from the given WebView to the specified file.
This function retrieves cookies from the WebView's native backend and serializes them to a JSON file. The format is platform-independent so cookies can theoretically be transferred between systems (though typically they are only restored on the same machine).
| aWebView | The WebView to extract cookies from. Must not be null. |
| aTargetFile | Full path to the file where cookies will be saved. |
Definition at line 49 of file wxgtk/webview.cpp.
Referenced by PANEL_REMOTE_SYMBOL::SaveCookies().