summaryrefslogtreecommitdiffstats
blob: 8d96bd9f246093f267529d9e63b13446cc68aff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2012 Tobias Markmann
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

/*
 * Copyright (c) 2016 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <QWidget>

#include <Swiften/TLS/Certificate.h>

namespace Swift {

class CocoaUIHelpers {
public:
    static void displayCertificateChainAsSheet(QWidget* parent, const std::vector<Certificate::ref>& chain);
    static void sendCocoaApplicationWillTerminateNotification();
};

}