Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
IJS_Runtime Class Referenceabstract

#include <ijs_runtime.h>

+ Inheritance diagram for IJS_Runtime:
+ Collaboration diagram for IJS_Runtime:

Classes

struct  JS_Error
 
class  ScopedEventContext
 

Public Member Functions

virtual ~IJS_Runtime ()
 
virtual CJS_RuntimeAsCJSRuntime ()=0
 
virtual IJS_EventContextNewEventContext ()=0
 
virtual void ReleaseEventContext (IJS_EventContext *pContext)=0
 
virtual CPDFSDK_FormFillEnvironmentGetFormFillEnv () const =0
 
virtual absl::optional< JS_ErrorExecuteScript (const WideString &script)=0
 

Static Public Member Functions

static void Initialize (unsigned int slot, void *isolate, void *platform)
 
static void Destroy ()
 
static std::unique_ptr< IJS_RuntimeCreate (CPDFSDK_FormFillEnvironment *pFormFillEnv)
 

Protected Member Functions

 IJS_Runtime ()=default
 

Detailed Description

Definition at line 24 of file ijs_runtime.h.

Constructor & Destructor Documentation

◆ ~IJS_Runtime()

IJS_Runtime::~IJS_Runtime ( )
virtualdefault

◆ IJS_Runtime()

IJS_Runtime::IJS_Runtime ( )
protecteddefault

Member Function Documentation

◆ AsCJSRuntime()

virtual CJS_Runtime * IJS_Runtime::AsCJSRuntime ( )
pure virtual

Implemented in CJS_Runtime, and CJS_RuntimeStub.

◆ Create()

std::unique_ptr< IJS_Runtime > IJS_Runtime::Create ( CPDFSDK_FormFillEnvironment * pFormFillEnv)
static

Definition at line 50 of file ijs_runtime.cpp.

◆ Destroy()

void IJS_Runtime::Destroy ( )
static

Definition at line 39 of file ijs_runtime.cpp.

Referenced by FPDF_DestroyLibrary().

+ Here is the caller graph for this function:

◆ ExecuteScript()

virtual absl::optional< JS_Error > IJS_Runtime::ExecuteScript ( const WideString & script)
pure virtual

Implemented in CJS_Runtime, and CJS_RuntimeStub.

◆ GetFormFillEnv()

virtual CPDFSDK_FormFillEnvironment * IJS_Runtime::GetFormFillEnv ( ) const
pure virtual

Implemented in CJS_Runtime, and CJS_RuntimeStub.

◆ Initialize()

void IJS_Runtime::Initialize ( unsigned int slot,
void * isolate,
void * platform )
static

Definition at line 27 of file ijs_runtime.cpp.

Referenced by FPDF_InitLibraryWithConfig().

+ Here is the caller graph for this function:

◆ NewEventContext()

virtual IJS_EventContext * IJS_Runtime::NewEventContext ( )
pure virtual

Implemented in CJS_Runtime, and CJS_RuntimeStub.

◆ ReleaseEventContext()

virtual void IJS_Runtime::ReleaseEventContext ( IJS_EventContext * pContext)
pure virtual

Implemented in CJS_Runtime, and CJS_RuntimeStub.


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