blob: 4cdc63bada9bb1dbf792762ca2c001c0ec7f2c6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* This file is part of smolbote. It's copyrighted by the contributors recorded
* in the version control history of the file, available from its original
* location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote
*
* SPDX-License-Identifier: MIT
*/
#pragma once
class Profile;
class BrowserInterface
{
public:
virtual ~BrowserInterface() = default;
// profile access
virtual const QList<QPair<QString, Profile *>> profileList() const = 0;
virtual QPair<QString, Profile *> loadProfile(const QString &id, bool isOffTheRecord = true) = 0;
virtual void removeProfile(const QString &id) = 0;
};
|