~ubuntu-branches/ubuntu/trusty/libwx-perl/trusty

« back to all changes in this revision

Viewing changes to XS/MimeTypes.xsp

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-10-03 00:11:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081003001125-22dw55oo66k8is78
Tags: 0.86-2
debian/rules: run tests with -j1; this disables parallel make during tests
even if the build target was invoked with -jN (N>1).
Closes: #499740 -FTBFS: Failed 2/4 test scripts. 6/9 subtests failed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
## Author:      Mattia Barbon
5
5
## Modified by:
6
6
## Created:     28/03/2005
7
 
## RCS-ID:      $Id: MimeTypes.xsp 2299 2007-11-25 17:30:04Z mbarbon $
8
 
## Copyright:   (c) 2005-2007 Mattia Barbon
 
7
## RCS-ID:      $Id: MimeTypes.xsp 2441 2008-08-12 22:34:09Z mbarbon $
 
8
## Copyright:   (c) 2005-2008 Mattia Barbon
9
9
## Licence:     This program is free software; you can redistribute it and/or
10
10
##              modify it under the same terms as Perl itself
11
11
#############################################################################
190
190
    wxFileType* GetFileTypeFromExtension( const wxString& extension );
191
191
    wxFileType* GetFileTypeFromMimeType( const wxString& mimeType );
192
192
    bool IsOfType( const wxString& mimeType, const wxString& wildcard );
 
193
#if WXPERL_W_VERSION_LT( 2, 9, 0 )
193
194
    bool ReadMailcap( const wxString& filename, bool fallback = false );
194
195
    bool ReadMimeTypes( const wxString& filename );
 
196
#endif
195
197
};
196
198
 
197
199
%{