KiCad PCB EDA Suite
Loading...
Searching...
No Matches
webview.cpp File Reference
#include <kiplatform/webview.h>
#include <wx/webview.h>
#include <wx/log.h>
#include <wx/ffile.h>
#include <wx/filename.h>
#include <nlohmann/json.hpp>
#include <dlfcn.h>

Go to the source code of this file.

Namespaces

namespace  KIPLATFORM
 
namespace  KIPLATFORM::WEBVIEW
 

Typedefs

typedef struct _WebKitWebView KIPLATFORM::WEBVIEW::WebKitWebView
 
typedef struct _WebKitWebContext KIPLATFORM::WEBVIEW::WebKitWebContext
 
typedef struct _WebKitWebsiteDataManager KIPLATFORM::WEBVIEW::WebKitWebsiteDataManager
 
typedef WebKitWebContext *(* KIPLATFORM::WEBVIEW::webkit_web_view_get_context_t) (WebKitWebView *)
 
typedef WebKitWebsiteDataManager *(* KIPLATFORM::WEBVIEW::webkit_web_context_get_website_data_manager_t) (WebKitWebContext *)
 
typedef void(* KIPLATFORM::WEBVIEW::webkit_website_data_manager_clear_t) (WebKitWebsiteDataManager *, WebKitWebsiteDataTypes, int64_t, void *, void *, void *)
 

Enumerations

enum  KIPLATFORM::WEBVIEW::WebKitWebsiteDataTypes { KIPLATFORM::WEBVIEW::WEBKIT_WEBSITE_DATA_COOKIES = 1 << 8 }
 

Functions

bool KIPLATFORM::WEBVIEW::SaveCookies (wxWebView *aWebView, const wxString &aTargetFile)
 Save cookies from the given WebView to the specified file.
 
bool KIPLATFORM::WEBVIEW::LoadCookies (wxWebView *aWebView, const wxString &aSourceFile)
 Load cookies from the specified file into the given WebView.
 
bool KIPLATFORM::WEBVIEW::DeleteCookies (wxWebView *aWebView)
 Delete all cookies from the given WebView.