summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.h
blob: 5ce28f4e6575126e7e92f4d1bc3580f7fd9fae08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "widget.h"

iDeclareType(History)

iDeclareWidgetClass(DocumentWidget)
iDeclareObjectConstruction(DocumentWidget)

iHistory *  history_DocumentWidget      (iDocumentWidget *);

void    setUrl_DocumentWidget           (iDocumentWidget *, const iString *url);
void    setUrlFromCache_DocumentWidget  (iDocumentWidget *d, const iString *url, iBool isFromCache);
void    setInitialScroll_DocumentWidget (iDocumentWidget *, int scrollY); /* set after content received */

iBool   isRequestOngoing_DocumentWidget (const iDocumentWidget *);