blob: 3959c3ece80ba5fe4bef1fcf177f7cbd28a382f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#include <qglobal.h>
#include "fsdk_mgr.h"
#include "javascript/IJavaScript.h"
CJS_RuntimeFactory::~CJS_RuntimeFactory()
{
}
IFXJS_Runtime* CJS_RuntimeFactory::NewJSRuntime(CPDFDoc_Environment* pApp)
{
Q_UNUSED(pApp);
return 0;
}
void CJS_RuntimeFactory::DeleteJSRuntime(IFXJS_Runtime* pRuntime)
{
Q_UNUSED(pRuntime);
}
void CJS_RuntimeFactory::AddRef()
{
m_nRef++;
}
void CJS_RuntimeFactory::Release()
{
if (--m_nRef) {
// ### Shutdown
}
}
CJS_GlobalData* CJS_RuntimeFactory::NewGlobalData(CPDFDoc_Environment* pApp)
{
Q_UNUSED(pApp);
return 0;
}
void CJS_RuntimeFactory::ReleaseGlobalData()
{
}
|