/* * BluezQt - Asynchronous BlueZ wrapper library * * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer * * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef METHODS_H #define METHODS_H #include "Method.h" #include class Methods { public: Methods(); static bool isMethod(const QString &line); void parse(const QString &line); bool finalize(); std::list methods() const; private: std::list m_methods; Method *m_currentMethod = nullptr; }; #endif // METHODS_H