blob: 5b56667f37faf6432a6afad25ebaef37844ca9f0 [file] [log] [blame]
#ifndef QWEBHISTORY_P_H
#define QWEBHISTORY_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 QWebHistoryPrivate : public QSharedData
{
public:
QWebHistoryPrivate(WebCore::BackForwardList *l)
{
l->ref();
lst = l;
}
~QWebHistoryPrivate()
{
lst->deref();
}
WebCore::BackForwardList *lst;
};
#endif