mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
CProgressWindow: implement CComponent classes
This implement window functionality from CComponentsWindow, progress items from CProgressBar() and status text items from CComponentsLabel()
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#ifndef __httptool__
|
||||
#define __httptool__
|
||||
|
||||
#include <gui/widget/progressstatus.h>
|
||||
#include <gui/widget/progresswindow.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -44,12 +44,12 @@ class CHTTPTool
|
||||
int iGlobalProgressEnd;
|
||||
int iGlobalProgressBegin;
|
||||
|
||||
CProgress_StatusViewer* statusViewer;
|
||||
CProgressWindow* statusViewer;
|
||||
static int show_progress( void *clientp, double dltotal, double dlnow, double ultotal, double ulnow);
|
||||
|
||||
public:
|
||||
CHTTPTool();
|
||||
void setStatusViewer( CProgress_StatusViewer* statusview );
|
||||
void setStatusViewer( CProgressWindow* statusview );
|
||||
|
||||
bool downloadFile( const std::string & URL, const char * const downloadTarget, int globalProgressEnd=-1 );
|
||||
|
||||
|
Reference in New Issue
Block a user