1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: c++ wrapper for wxLog and wxLogPassThrough
4 // Author: Mattia Barbon
7 // RCS-ID: $Id: log.h 2057 2007-06-18 23:03:00Z mbarbon $
8 // Copyright: (c) 2002-2004 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 class wxPlLog : public wxLog
17 // WXPLI_DECLARE_DYNAMIC_CLASS( wxPlLog );
18 WXPLI_DECLARE_V_CBACK();
20 WXPLI_DEFAULT_CONSTRUCTOR_NC( wxPlLog, "Wx::PlLog", true );
22 DEC_V_CBACK_VOID__CWXCHARP_TIMET( DoLogString );
23 DEC_V_CBACK_VOID__WXLOGLEVEL_CWXCHARP_TIMET( DoLog );
26 DEF_V_CBACK_VOID__CWXCHARP_TIMET( wxPlLog, wxLog, DoLogString );
27 DEF_V_CBACK_VOID__WXLOGLEVEL_CWXCHARP_TIMET( wxPlLog, wxLog, DoLog );
29 class wxPlLogPassThrough : public wxLogPassThrough
31 // WXPLI_DECLARE_DYNAMIC_CLASS( wxPlLogPassThrough );
32 WXPLI_DECLARE_V_CBACK();
34 WXPLI_DEFAULT_CONSTRUCTOR_NC( wxPlLogPassThrough,
35 "Wx::PlLogPassThrough", true );
37 DEC_V_CBACK_VOID__CWXCHARP_TIMET( DoLogString );
38 DEC_V_CBACK_VOID__WXLOGLEVEL_CWXCHARP_TIMET( DoLog );
41 DEF_V_CBACK_VOID__CWXCHARP_TIMET( wxPlLogPassThrough, wxLogPassThrough,
43 DEF_V_CBACK_VOID__WXLOGLEVEL_CWXCHARP_TIMET( wxPlLogPassThrough,
44 wxLogPassThrough, DoLog );