Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / ext / docview / DocView.xs
1 /////////////////////////////////////////////////////////////////////////////
2 // Name:        ext/docview/DocView.xs
3 // Purpose:     XS for wxWidgets Document/View Framework
4 // Author:      Simon Flack
5 // Modified by:
6 // Created:     11/09/2002
7 // RCS-ID:      $Id: DocView.xs 2700 2009-12-13 11:25:50Z mbarbon $
8 // Copyright:   (c) 2002, 2004, 2007-2009 Simon Flack
9 // Licence:     This program is free software; you can redistribute it and/or
10 //              modify it under the same terms as Perl itself
11 /////////////////////////////////////////////////////////////////////////////
12
13 #define PERL_NO_GET_CONTEXT
14
15 #include "cpp/wxapi.h"
16 #include "cpp/docview.h"
17
18 #undef THIS
19
20 #include <wx/docview.h>
21
22 MODULE=Wx__DocView
23
24 BOOT:
25   INIT_PLI_HELPERS( wx_pli_helpers );
26
27 INCLUDE: XS/DocManager.xs
28 INCLUDE: XS/DocTemplate.xs
29 INCLUDE: XS/Document.xs
30 INCLUDE: XS/View.xs
31 INCLUDE: XS/FileHistory.xs
32 INCLUDE: XS/DocParentFrame.xs
33 INCLUDE: XS/DocChildFrame.xs
34
35 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/CommandProcessor.xsp |
36
37 #if wxUSE_MDI_ARCHITECTURE && wxUSE_DOC_VIEW_ARCHITECTURE
38
39 INCLUDE: XS/DocMDIParentFrame.xs
40 INCLUDE: XS/DocMDIChildFrame.xs
41
42 #endif
43
44 #include "cpp/dv_constants.cpp"
45
46 #  //FIXME//tricky
47 #if defined(__WXMSW__)
48 #undef XS
49 #define XS( name ) WXXS( name )
50 #endif
51
52 MODULE=Wx__DocView