1 #############################################################################
3 ## Purpose: XS++ for power-related events/functions
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: Power.xsp 2079 2007-07-08 21:18:04Z mbarbon $
8 ## Copyright: (c) 2006 Mattia Barbon
9 ## Licence: This program is free software; you can redistribute it and/or
10 ## modify it under the same terms as Perl itself
11 #############################################################################
15 %typemap{wxPowerType}{simple};
16 %typemap{wxBatteryState}{simple};
19 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
23 #ifdef wxHAS_POWER_EVENTS
26 %name{Wx::PowerEvent} class wxPowerEvent
36 %name{Wx::GetPowerType} wxPowerType wxGetPowerType();
37 %name{Wx::GetBatteryState} wxBatteryState wxGetBatteryState();