#include "modest-tny-platform-factory.h"
#include "modest-tny-account-store.h"
-#ifdef MODEST_USE_MOZEMBED
-#include <widgets/modest-mozembed-msg-view.h>
+#ifdef MODEST_USE_WEBKIT
+#include <widgets/modest-webkit-msg-view.h>
#else
#include <widgets/modest-gtkhtml-msg-view.h>
#endif
{
TnyPlatformFactoryIface *klass = (TnyPlatformFactoryIface *)g;
- klass->new_account_store_func = modest_tny_platform_factory_new_account_store;
- klass->new_device_func = modest_tny_platform_factory_new_device;
- klass->new_msg_view_func = modest_tny_platform_factory_new_msg_view;
- klass->new_msg_func = modest_tny_platform_factory_new_msg;
- klass->new_mime_part_func = modest_tny_platform_factory_new_mime_part;
+ klass->new_account_store = modest_tny_platform_factory_new_account_store;
+ klass->new_device = modest_tny_platform_factory_new_device;
+ klass->new_msg_view = modest_tny_platform_factory_new_msg_view;
+ klass->new_msg = modest_tny_platform_factory_new_msg;
+ klass->new_mime_part = modest_tny_platform_factory_new_mime_part;
return;
}
modest_tny_platform_factory_new_msg_view (TnyPlatformFactory *self)
{
/* Here we'll select one of the implementations available */
-#ifdef MODEST_USE_MOZEMBED
- return g_object_new (MODEST_TYPE_MOZEMBED_MSG_VIEW, NULL);
+#ifdef MODEST_USE_WEBKIT
+ return g_object_new (MODEST_TYPE_WEBKIT_MSG_VIEW, NULL);
#else
return g_object_new (MODEST_TYPE_GTKHTML_MSG_VIEW, NULL);
#endif