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:
Scott Talbert 2017-05-03 23:35:13 -04:00 committed by Vadim Zeitlin
parent d0aaea5143
commit 69e4f491b2
3 changed files with 6 additions and 6 deletions

View File

@ -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_

View File

@ -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>
// ----------------------------------------------------------------------------

View File

@ -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>