Red's workaround (hack) to get awWebCore to build

This commit is contained in:
Abhishek Nath 2010-01-20 18:35:06 +00:00
parent f33b2e1da4
commit 59b7df2c50

View File

@ -19,8 +19,12 @@
TypeHandle AwWebCore::_type_handle; TypeHandle AwWebCore::_type_handle;
AwWebCore:: AwWebCore::
AwWebCore(AwWebCore::LogLevel level, bool enablePlugins , AwWebCore::PixelFormat pixelFormat) : AwWebCore(AwWebCore::LogLevel level, bool enablePlugins , AwWebCore::PixelFormat pixelFormat)
WebCore(static_cast<Awesomium::LogLevel>(level), enablePlugins, static_cast<Awesomium::PixelFormat>(pixelFormat)) { #ifndef CPPPARSER
:
WebCore(static_cast<Awesomium::LogLevel>(level), enablePlugins, static_cast<Awesomium::PixelFormat>(pixelFormat))
#endif
{
awesomium_cat.info() << "constructing webcore\n"; awesomium_cat.info() << "constructing webcore\n";
} }