1 #include "progressui.h"
4 #include "progressui_win.cxx"
6 #include "progressui_gtk.cxx"
15 for (int i
= 0; i
<= 100; ++i
)
17 std::this_thread::sleep_for(std::chrono::milliseconds(200));
23 int NS_main(int argc
, NS_tchar
** argv
)
25 InitProgressUI(&argc
, &argv
);
28 volatile bool b = false;
31 std::this_thread::sleep_for(std::chrono::seconds(1));
35 int result
= ShowProgressUI();
36 std::cout
<< result
<< std::endl
;