Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cJSXContext.h
Go to the documentation of this file.
1
//
4
//
5
#ifndef _INC_cJSXContext_H
6
#define _INC_cJSXContext_H
7
#ifndef NO_PRAGMA_ONCE
8
#pragma once
9
#endif
10
11
#include "
GrayJSX.h
"
12
13
namespace
GrayJS
14
{
15
class
GRAYJS_LINK
cJSXContext
:
public
cRefBase
16
{
20
21
private
:
22
cJSContext
* m_pjsCx;
23
24
public
:
25
cJSXContext
();
26
virtual
~
cJSXContext
();
27
28
bool
InitContext();
29
void
DestroyContext();
30
31
cJSContext
*
get_JSCx
()
const
32
{
33
return
m_pjsCx;
34
}
35
36
// who is the current owner of the JS context? similar to cScriptContext
37
// cVariant m_vPropLast;
38
};
39
typedef
cRefPtr<cJSXContext>
cJSXContextPtr
;
40
};
41
42
#endif
// _INC_cJSXContext_H
GrayJSX.h
GRAYJS_LINK
#define GRAYJS_LINK
Definition:
GrayJSX.h:27
GrayJS::cJSContext
Definition:
cJSObject.h:56
GrayJS::cJSXContext
Definition:
cJSXContext.h:16
GrayJS::cJSXContext::get_JSCx
cJSContext * get_JSCx() const
Definition:
cJSXContext.h:31
Gray::cRefBase
Definition:
cRefPtr.h:22
Gray::cRefPtr< cJSXContext >
GrayJS
Definition:
cJSObject.h:36
GrayJS::cJSXContextPtr
cRefPtr< cJSXContext > cJSXContextPtr
Definition:
cJSXContext.h:39
GrayJSX
include
cJSXContext.h
Generated on Tue Feb 2 2021 11:29:35 for Gray C++ Libraries by
1.9.1