Line data Source code
1 : /*
2 : * SPDX-License-Identifier: GPL-3.0-only
3 : * MuseScore/Audacity CLA applies
4 : *
5 : * Copyright (C) 2026 MuseScore/Audacity and others
6 : *
7 : * This program is free software: you can redistribute it and/or modify
8 : * it under the terms of the GNU General Public License version 3 as
9 : * published by the Free Software Foundation.
10 : *
11 : * This program is distributed in the hope that it will be useful,
12 : * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 : * GNU General Public License for more details.
15 : *
16 : * You should have received a copy of the GNU General Public License
17 : * along with this program. If not, see <https://www.gnu.org/licenses/>.
18 : */
19 :
20 : #pragma once
21 :
22 : #include <string>
23 : #include <utility>
24 : #include <vector>
25 :
26 : #include "modularity/imoduleinterface.h"
27 :
28 : namespace muse::update {
29 : class IUpdateRequestParamsProvider : MODULE_GLOBAL_INTERFACE
30 : {
31 7 : INTERFACE_ID(IUpdateRequestParamsProvider)
32 :
33 : public:
34 : virtual ~IUpdateRequestParamsProvider() = default;
35 :
36 : virtual std::vector<std::pair<std::string, std::string> > updateRequestParams() const = 0;
37 : };
38 : }
|