summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cscript_logpseudomodel.h
blob: 2501316a0eedb671d6ad74f95dd61f22bb80d7f3 (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
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef XFA_FXFA_PARSER_CSCRIPT_LOGPSEUDOMODEL_H_
#define XFA_FXFA_PARSER_CSCRIPT_LOGPSEUDOMODEL_H_

#include "fxjs/cjx_logpseudomodel.h"
#include "xfa/fxfa/parser/cxfa_object.h"

class CFXJSE_Arguments;

class CScript_LogPseudoModel : public CXFA_Object {
 public:
  explicit CScript_LogPseudoModel(CXFA_Document* pDocument);
  ~CScript_LogPseudoModel() override;

  CJX_LogPseudoModel* JSLogPseudoModel() {
    return static_cast<CJX_LogPseudoModel*>(JSObject());
  }

  void Message(CFXJSE_Arguments* pArguments);
  void TraceEnabled(CFXJSE_Arguments* pArguments);
  void TraceActivate(CFXJSE_Arguments* pArguments);
  void TraceDeactivate(CFXJSE_Arguments* pArguments);
  void Trace(CFXJSE_Arguments* pArguments);
};

#endif  // XFA_FXFA_PARSER_CSCRIPT_LOGPSEUDOMODEL_H_