import"IWebBackForwardList.idl";
|
HRESULT | addItem ([in] IWebHistoryItem *item) |
|
HRESULT | goBack () |
|
HRESULT | goForward () |
|
HRESULT | goToItem ([in] IWebHistoryItem *item) |
|
HRESULT | backItem ([out, retval] IWebHistoryItem **item) |
|
HRESULT | currentItem ([out, retval] IWebHistoryItem **item) |
|
HRESULT | forwardItem ([out, retval] IWebHistoryItem **item) |
|
HRESULT | backListWithLimit ([in] int limit, [out] int *listCount, [in] IWebHistoryItem **list) |
|
HRESULT | forwardListWithLimit ([in] int limit, [out] int *listCount, [in] IWebHistoryItem **list) |
|
HRESULT | capacity ([out, retval] int *result) |
|
HRESULT | setCapacity ([in] int size) |
|
HRESULT | backListCount ([out, retval] int *count) |
|
HRESULT | forwardListCount ([out, retval] int *sizecount) |
|
HRESULT | containsItem ([in] IWebHistoryItem *item, [out, retval] BOOL *result) |
|
HRESULT | itemAtIndex ([in] int index, [out, retval] IWebHistoryItem **item) |
|
◆ addItem()
addItem: Adds an entry to the list.
- Parameters
-
entry | The entry to add. The added entry is inserted immediately after the current entry. If the current position in the list is not at the end of the list, elements in the forward list will be dropped at this point. In addition, entries may be dropped to keep the size of the list within the maximum size.
- (void)addItem:(WebHistoryItem *)item;
|
◆ backItem()
backItem Returns the entry right before the current entry.
- Returns
- The entry right before the current entry, or nil if there isn't one.
◆ backListCount()
HRESULT IWebBackForwardList::backListCount |
( |
[out, retval] int * |
count | ) |
|
backListCount Returns the back list's current count.
- Returns
- The number of items in the list.
◆ backListWithLimit()
HRESULT IWebBackForwardList::backListWithLimit |
( |
[in] int |
limit, |
|
|
[out] int * |
listCount, |
|
|
[in] IWebHistoryItem ** |
list |
|
) |
| |
backListWithLimit: Returns a portion of the list before the current entry.
- Parameters
-
limit | A cap on the size of the array returned. |
- Returns
- An array of items before the current entry, or nil if there are none. The entries are in the order that they were originally visited.
- (NSArray *)backListWithLimit:(int)limit;
◆ capacity()
HRESULT IWebBackForwardList::capacity |
( |
[out, retval] int * |
result | ) |
|
capacity Returns the list's maximum size.
- Returns
- The list's maximum size.
◆ containsItem()
containsItem:
- Parameters
-
- Returns
- Returns YES if the item is in the list.
- (BOOL)containsItem:(WebHistoryItem *)item;
◆ currentItem()
currentItem Returns the current entry.
- Returns
- The current entry.
◆ forwardItem()
forwardItem Returns the entry right after the current entry.
- Returns
- The entry right after the current entry, or nil if there isn't one.
◆ forwardListCount()
HRESULT IWebBackForwardList::forwardListCount |
( |
[out, retval] int * |
sizecount | ) |
|
forwardListCount Returns the forward list's current count.
- Returns
- The number of items in the list.
◆ forwardListWithLimit()
HRESULT IWebBackForwardList::forwardListWithLimit |
( |
[in] int |
limit, |
|
|
[out] int * |
listCount, |
|
|
[in] IWebHistoryItem ** |
list |
|
) |
| |
forwardListWithLimit: Returns a portion of the list after the current entry.
- Parameters
-
limit | A cap on the size of the array returned. |
- Returns
- An array of items after the current entry, or nil if there are none. The entries are in the order that they were originally visited.
- (NSArray *)forwardListWithLimit:(int)limit;
◆ goBack()
HRESULT IWebBackForwardList::goBack |
( |
| ) |
|
◆ goForward()
HRESULT IWebBackForwardList::goForward |
( |
| ) |
|
◆ goToItem()
goToItem: Move the current pointer to the given entry.
- Parameters
-
item | The history item to move the pointer to
- (void)goToItem:(WebHistoryItem *)item;
|
◆ itemAtIndex()
itemAtIndex: Returns an entry the given distance from the current entry.
- Parameters
-
index | Index of the desired list item relative to the current item; 0 is current item, -1 is back item, 1 is forward item, etc. |
- Returns
- The entry the given distance from the current entry. If index exceeds the limits of the list, nil is returned.
◆ setCapacity()
HRESULT IWebBackForwardList::setCapacity |
( |
[in] int |
size | ) |
|
setCacpacity Sets the list's maximum size.
- Parameters
-
size | The new maximum size for the list.
- (void)setCapacity:(int)size;
|
Implemented in WebBackForwardList.
The documentation for this interface was generated from the following file: