mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Issue #77 Break cyclic dependency between CStatusMessage and CStatusException, by removing unused methods
This commit is contained in:
@@ -25,8 +25,6 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CStatusException;
|
||||
|
||||
namespace Private
|
||||
{
|
||||
//! Like QString::arg() but for QStringView.
|
||||
@@ -376,12 +374,6 @@ namespace BlackMisc
|
||||
//! \sa QtMessageHandler
|
||||
void toQtLogTriple(QtMsgType *o_type, QString *o_category, QString *o_message) const;
|
||||
|
||||
//! Return a throwable exception object containing this status message.
|
||||
CStatusException asException() const;
|
||||
|
||||
//! If message is empty then do nothing, otherwise throw a CStatusException.
|
||||
void maybeThrow() const;
|
||||
|
||||
//! Message categories
|
||||
const CLogCategoryList &getCategories() const { return this->m_categories; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user