Move wx/gtk/webview_webkit2_extension.h to private directory
Make it more clear that this header is private, i.e. used only by the library itself. Close https://github.com/wxWidgets/wxWidgets/pull/473
This commit is contained in:
parent
d0aaea5143
commit
69e4f491b2
@ -1,15 +1,15 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: include/gtk/wx/webview_webkit2_extension.h
|
||||
// Name: include/wx/gtk/private/webview_webkit2_extension.h
|
||||
// Purpose: Common elements for webview webkit2 extension
|
||||
// Author: Scott Talbert
|
||||
// Copyright: (c) 2017 Scott Talbert
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_GTK_WEBVIEW_WEBKIT2_EXTENSION_H_
|
||||
#define _WX_GTK_WEBVIEW_WEBKIT2_EXTENSION_H_
|
||||
#ifndef _WX_GTK_PRIVATE_WEBVIEW_WEBKIT2_EXTENSION_H_
|
||||
#define _WX_GTK_PRIVATE_WEBVIEW_WEBKIT2_EXTENSION_H_
|
||||
|
||||
#define WXGTK_WEB_EXTENSION_OBJECT_PATH "/org/wxwidgets/wxGTK/WebExtension"
|
||||
#define WXGTK_WEB_EXTENSION_INTERFACE "org.wxwidgets.wxGTK.WebExtension"
|
||||
|
||||
#endif
|
||||
#endif // _WX_GTK_PRIVATE_WEBVIEW_WEBKIT2_EXTENSION_H_
|
@ -18,7 +18,7 @@
|
||||
#include "wx/filesys.h"
|
||||
#include "wx/base64.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/gtk/webview_webkit2_extension.h"
|
||||
#include "wx/gtk/private/webview_webkit2_extension.h"
|
||||
#include <webkit2/webkit2.h>
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -7,7 +7,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/defs.h"
|
||||
#include "wx/gtk/webview_webkit2_extension.h"
|
||||
#include "wx/gtk/private/webview_webkit2_extension.h"
|
||||
#include <webkit2/webkit-web-extension.h>
|
||||
#define WEBKIT_DOM_USE_UNSTABLE_API
|
||||
#include <webkitdom/WebKitDOMDOMSelection.h>
|
||||
|
Loading…
Reference in New Issue
Block a user