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
cjs_result.cpp
Go to the documentation of this file.
1
// Copyright 2017 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
include
"fxjs/cjs_result.h"
8
9
CJS_Result
::CJS_Result() =
default
;
10
11
CJS_Result
::CJS_Result(v8::Local<v8::Value> ret) : return_(ret) {}
12
13
CJS_Result
::CJS_Result(
const
WideString& err) : error_(err) {}
14
15
CJS_Result
::CJS_Result(
JSMessage
id) :
CJS_Result
(
JSGetStringFromID
(
id
)
) {}
16
17
CJS_Result
::
CJS_Result
(
const
CJS_Result
&) =
default
;
18
19
CJS_Result
::~
CJS_Result
() =
default
;
CJS_Result
Definition
cjs_result.h:14
CJS_Result::~CJS_Result
~CJS_Result()
CJS_Result::CJS_Result
CJS_Result(const CJS_Result &)
JSMessage
JSMessage
Definition
js_resources.h:12
JSGetStringFromID
WideString JSGetStringFromID(JSMessage msg)
Definition
js_resources.cpp:9
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxjs
cjs_result.cpp
Generated on Thu Nov 14 2024 01:02:36 for Qt by
1.12.0