diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:05:30 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:05:30 +0200 |
commit | c0fce877c478ddbf71a1b651c789e5ea00a00144 (patch) | |
tree | de01b0ae8fd296bd24fbca54a80f2f0ba071d461 /library/errorLogging.h | |
parent | 3.3 (diff) | |
download | FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.gz FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.bz2 FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.zip |
3.4
Diffstat (limited to 'library/errorLogging.h')
-rw-r--r-- | library/errorLogging.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/library/errorLogging.h b/library/errorLogging.h index 24b4a992..6b27e1c1 100644 --- a/library/errorLogging.h +++ b/library/errorLogging.h @@ -1,3 +1,9 @@ +// ************************************************************************** +// * This file is part of the FreeFileSync project. It is distributed under * +// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * +// * Copyright (C) 2008-2010 ZenJu (zhnmju123 AT gmx.de) * +// ************************************************************************** +// #ifndef ERRORLOGGING_H_INCLUDED #define ERRORLOGGING_H_INCLUDED @@ -23,20 +29,16 @@ public: return errorCount; } - const std::vector<wxString>& getFormattedMessages() const + typedef std::vector<wxString> MessageEntry; + const MessageEntry& getFormattedMessages() const { return formattedMessages; } - size_t messageCount() - { - return formattedMessages.size(); - } - private: wxString assembleMessage(const wxString& prefix, const wxString& message); - std::vector<wxString> formattedMessages; //list of non-resolved errors and warnings + MessageEntry formattedMessages; //list of non-resolved errors and warnings int errorCount; }; } |