mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-06 06:08:24 +08:00
16 lines
366 B
C++
Executable File
16 lines
366 B
C++
Executable File
#include <cdroid.h>
|
|
#include <string>
|
|
#include <cdlog.h>
|
|
#include <iostream>
|
|
#include <curl/curl.h>
|
|
#include <curldownload.h>
|
|
int main(int argc,const char*argv[]){
|
|
App app(argc,argv);
|
|
Window*w=new Window(0,0,-1,-1);
|
|
CurlDownloader dld;
|
|
CurlDownloader::ConnectionData cnn("https://www.baidu.com/");
|
|
dld.addConnection(&cnn);
|
|
return app.exec();
|
|
}
|
|
|