17 #include "pandabase.h" 18 #include "typedReferenceCount.h" 21 #include "awesomium_includes.h" 53 static Awesomium::WebCore& Get();
55 static Awesomium::WebCore* GetPointer();
57 INLINE
void setBaseDirectory(
const std::string& baseDirectory);
59 AwWebView * createWebView(
int width,
int height,
bool isTransparent =
false,
bool enableAsyncRendering =
false,
int maxAsyncRenderPerSec = 70);
61 INLINE
void setCustomResponsePage(
int statusCode,
const std::string& filePath);
65 INLINE
const std::string& getBaseDirectory()
const;
69 INLINE
bool arePluginsEnabled()
const;
79 static void init_type() {
80 TypedReferenceCount::init_type();
81 register_type(_type_handle,
"AwWebCore",
82 TypedReferenceCount::get_class_type());
85 return get_class_type();
87 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
93 #include "awWebCore.I" Thin wrappings arround WebCore.h.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PixelFormat
An enumeration of the two output pixel formats that WebView::render will use.
Thin bindings, wraps a WebView * returned from WebCore.createWebView.
TypeHandle is the identifier used to differentiate C++ class types.
LogLevel
An enumeration of the three verbosity settings for the Awesomium Log.