| 12 | using namespace MOBase; |
| 13 | |
| 14 | class ShellLinkException |
| 15 | { |
| 16 | public: |
| 17 | ShellLinkException(QString s) : m_what(std::move(s)) {} |
| 18 | |
| 19 | const QString& what() const { return m_what; } |
| 20 | |
| 21 | private: |
| 22 | QString m_what; |
| 23 | }; |
| 24 | |
| 25 | // just a wrapper around IShellLink operations that throws ShellLinkException |
| 26 | // on errors |
no outgoing calls
no test coverage detected