syncthingtray/tray/gui/webviewprovider.h
Martchus 6470038fc7 Refactor to allow sharing backend with other apps
Intended for creating command line tool and plasmoid
2016-09-30 23:58:45 +02:00

12 lines
279 B
C

#ifndef WEB_VIEW_PROVIDER
#if defined(SYNCTHINGTRAY_USE_WEBENGINE)
# define WEB_VIEW_PROVIDER QWebEngineView
# define WEB_PAGE_PROVIDER QWebEnginePage
#elif defined(SYNCTHINGTRAY_USE_WEBKIT)
# define WEB_VIEW_PROVIDER QWebView
# define WEB_PAGE_PROVIDER QWebPage
#endif
#endif