mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-11 07:39:31 +08:00
14 lines
364 B
C++
Executable File
14 lines
364 B
C++
Executable File
#include <cdroid.h>
|
|
#include <cdlog.h>
|
|
#include <app/progressdialog.h>
|
|
|
|
int main(int argc,const char*argv[]){
|
|
setenv("LANG","zh.CN",1);
|
|
App app(argc,argv);
|
|
auto f=[](DialogInterface& dlg,int which){
|
|
LOGD("click button %d",which);
|
|
};
|
|
ProgressDialog*dlg=ProgressDialog::show(&app,"Progress","download progress");
|
|
return app.exec();
|
|
}
|