blob: f8b4f30bd05dfe5f6b8fedd5f4c0a789f5a56570 [file] [log] [blame]
#ifndef QWEBPAGEHISTORY_P_H
#define QWEBPAGEHISTORY_P_H
#include "BackForwardList.h"
#include "HistoryItem.h"
class QWebHistoryItemPrivate : public QSharedData
{
public:
QWebHistoryItemPrivate(WebCore::HistoryItem *i)
{
i->ref();
item = i;
}
~QWebHistoryItemPrivate()
{
item->deref();
}
WebCore::HistoryItem *item;
};
class QWebPageHistoryPrivate : public QSharedData
{
public:
QWebPageHistoryPrivate(WebCore::BackForwardList *l)
{
l->ref();
lst = l;
}
~QWebPageHistoryPrivate()
{
lst->deref();
}
WebCore::BackForwardList *lst;
};
#endif