diff options
author | John Abd-El-Malek <jabdelmalek@google.com> | 2014-05-23 17:28:10 -0700 |
---|---|---|
committer | John Abd-El-Malek <jabdelmalek@google.com> | 2014-05-23 17:41:56 -0700 |
commit | 3f3b45cc74b0499912409f766a595945dbbfc4c5 (patch) | |
tree | ec400b6965477b88ea7f0d335f7e5c52044c346c /fpdfsdk/include/javascript/JS_Module.h | |
parent | 6fe4aed948337175f6f7f81bb03c37b9c7f535da (diff) | |
download | pdfium-3f3b45cc74b0499912409f766a595945dbbfc4c5.tar.xz |
Convert all line endings to LF.
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Module.h')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Module.h | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/fpdfsdk/include/javascript/JS_Module.h b/fpdfsdk/include/javascript/JS_Module.h index d725f6bc17..1fcb583a9d 100644 --- a/fpdfsdk/include/javascript/JS_Module.h +++ b/fpdfsdk/include/javascript/JS_Module.h @@ -1,47 +1,47 @@ -// 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 _JS_MODULE_H_
-#define _JS_MODULE_H_
-
-class CJS_GlobalData;
-class CJS_ConsoleDlg;
-
-class CJS_Module : public IReader_Module
-{
-public:
- CJS_Module(HMODULE hModule, CReader_App* pApp);
- virtual ~CJS_Module();
-
- virtual void Destroy(){delete this;}
- virtual CFX_ByteString GetModuleName();
-
-public:
- static CJS_Module* GetModule(CReader_App* pApp);
-
- IFXJS_Runtime* NewJSRuntime();
- CJS_GlobalData* NewGlobalData();
- void ReleaseGlobalData();
-
-public:
- //console
- void ShowConsole();
- void HideConsole();
- void ClearConsole();
- void PrintLineConsole(FX_LPCWSTR string);
-
-private:
- HMODULE m_hModule;
- CReader_App* m_pApp;
-
- FX_BOOL m_bInitial;
- CJS_GlobalData* m_pGlobalData;
- FX_INT32 m_nGlobalDataCount;
-
- CJS_ConsoleDlg* m_pConsole;
-};
-
+// 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 _JS_MODULE_H_ +#define _JS_MODULE_H_ + +class CJS_GlobalData; +class CJS_ConsoleDlg; + +class CJS_Module : public IReader_Module +{ +public: + CJS_Module(HMODULE hModule, CReader_App* pApp); + virtual ~CJS_Module(); + + virtual void Destroy(){delete this;} + virtual CFX_ByteString GetModuleName(); + +public: + static CJS_Module* GetModule(CReader_App* pApp); + + IFXJS_Runtime* NewJSRuntime(); + CJS_GlobalData* NewGlobalData(); + void ReleaseGlobalData(); + +public: + //console + void ShowConsole(); + void HideConsole(); + void ClearConsole(); + void PrintLineConsole(FX_LPCWSTR string); + +private: + HMODULE m_hModule; + CReader_App* m_pApp; + + FX_BOOL m_bInitial; + CJS_GlobalData* m_pGlobalData; + FX_INT32 m_nGlobalDataCount; + + CJS_ConsoleDlg* m_pConsole; +}; + #endif //_JS_MODULE_H_
\ No newline at end of file |