2024-08-18 13:57:57 +03:00
|
|
|
#include "mainwindow.h"
|
2024-08-30 05:03:32 +03:00
|
|
|
#include "ofd/ofd.h"
|
|
|
|
#include "utils/utils.h"
|
|
|
|
#include <iostream>
|
2024-08-18 13:57:57 +03:00
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
2024-08-19 02:35:16 +03:00
|
|
|
int main(int argc, char *argv[]) {
|
2024-08-18 13:57:57 +03:00
|
|
|
QApplication a(argc, argv);
|
|
|
|
MainWindow w;
|
|
|
|
w.show();
|
2024-08-24 00:45:47 +03:00
|
|
|
|
2024-08-30 05:03:32 +03:00
|
|
|
OFD ofd;
|
|
|
|
std::vector<std::string> ofds = ofd.search_ofds();
|
|
|
|
|
|
|
|
for (OFDModule o : ofds) {
|
|
|
|
std::cout << to_utf8(o.get_name()) << ": " << to_utf8(o.get_url()) << std::endl;
|
|
|
|
}
|
|
|
|
|
2024-08-18 13:57:57 +03:00
|
|
|
return a.exec();
|
|
|
|
}
|