Output to csv, started work on OFD module
This commit is contained in:
10
main.cpp
10
main.cpp
@@ -1,4 +1,7 @@
|
||||
#include "mainwindow.h"
|
||||
#include "ofd/ofd.h"
|
||||
#include "utils/utils.h"
|
||||
#include <iostream>
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
@@ -7,5 +10,12 @@ int main(int argc, char *argv[]) {
|
||||
MainWindow w;
|
||||
w.show();
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user