mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
CProgressWindow: implement CComponent classes
This implement window functionality from CComponentsWindow,
progress items from CProgressBar() and status text
items from CComponentsLabel()
Origin commit data
------------------
Commit: 2f0e4e1687
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-09 (Mon, 09 Jun 2014)
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