X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d196416cad7b3bed5e940f46699d036ca448a9fd..e2758e21753c00b8e36f11c003fd6cd0e5137391:/utils/ifacecheck/src/ifacecheck.cpp?ds=inline diff --git a/utils/ifacecheck/src/ifacecheck.cpp b/utils/ifacecheck/src/ifacecheck.cpp index 1ca155fc56..13aca6a97e 100644 --- a/utils/ifacecheck/src/ifacecheck.cpp +++ b/utils/ifacecheck/src/ifacecheck.cpp @@ -75,15 +75,12 @@ class IfaceCheckLog : public wxLog public: IfaceCheckLog() {} - void DoLog(wxLogLevel, const wxString& msg, time_t) + virtual void DoLogText(const wxString& msg) { // send all messages to stdout (normal behaviour is to sent them to stderr) - wxPrintf(msg); - wxPrintf("\n"); - Flush(); + wxPuts(msg); + fflush(stdout); } - - wxSUPPRESS_DOLOG_HIDE_WARNING() }; class IfaceCheckApp : public wxAppConsole @@ -217,7 +214,9 @@ bool IfaceCheckApp::Compare() interfaces.GetCount()); if (!m_strToMatch.IsEmpty()) + { wxLogMessage("Processing only header files matching '%s' expression.", m_strToMatch); + } for (unsigned int i=0; iGetHeader(), &m, &tmp)) + { wxLogMessage("Adjusted attributes of '%s' method", m.GetAsString()); + } proceed = false; break; @@ -400,7 +405,9 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClass* api) // TODO: decide which of these overloads is the most "similar" to m // and eventually modify it if (m_modify) + { wxLogWarning("\tmanual fix is required"); + } } else { @@ -577,7 +584,9 @@ bool IfaceCheckApp::FixMethod(const wxString& header, const wxMethod* iface, con return false; if (g_verbose) + { wxLogMessage("\tthe final row offset for following methods is %d lines.", nOffset); + } // update the other method's locations for those methods which belong to the modified header // and are placed _below_ the modified method