File: WebView.xs

package info (click to toggle)
libwx-perl 1%3A0.9909-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,912 kB
  • sloc: cpp: 9,728; perl: 8,182; ansic: 626; makefile: 41
file content (53 lines) | stat: -rw-r--r-- 1,280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/////////////////////////////////////////////////////////////////////////////
// Name:        ext/webview/WebView.xs
// Purpose:     XS for Wx::WebView
// Author:      Mark Dootson
// Modified by:
// Created:     17/03/2012
// SVN-ID:      $Id: $
// Copyright:   (c) 2012 Mattia Barbon
// Licence:     This program is free software; you can redistribute it and/or
//              modify it under the same terms as Perl itself
/////////////////////////////////////////////////////////////////////////////

#define PERL_NO_GET_CONTEXT

#include "cpp/wxapi.h"
#include "cpp/constants.h"
#include "cpp/overload.h"

#undef THIS

#if WXPERL_W_VERSION_GE( 2, 9, 3 ) && wxUSE_WEBVIEW

#include <wx/filesys.h>
#include <wx/webview.h>
#include <wx/webviewarchivehandler.h>
#include "cpp/streams.h"
#include "cpp/helpers.h"

#endif

MODULE=Wx__WebView

BOOT:
  INIT_PLI_HELPERS( wx_pli_helpers );

#if WXPERL_W_VERSION_GE( 2, 9, 3 ) && wxUSE_WEBVIEW

INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/WebView.xsp

MODULE=Wx__WebView PACKAGE=Wx::WebView

#include "cpp/ovl_const.cpp"
#include <cpp/webview_constants.cpp>

#endif

#  //FIXME//tricky
#if defined(__WXMSW__)
#undef XS
#define XS( name ) WXXS( name )
#endif

MODULE=Wx__WebView