blob: d437b0847293a811d4de57578891c4d92369f6f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "export.hpp"
#include <functional>
#include <QWidget>
int OTR_GUI_EXPORT otr_main(int argc, char** argv, std::function<QWidget*()> make_main_window);
template<typename F>
auto run_application(int argc, char** argv, F&& fun)
{
return otr_main(argc, argv, fun);
}
|