#include <filtrmgr.h>
Inheritance diagram for FilterList:
Public Member Functions | |
FilterList () | |
Initialises a list. | |
BOOL | AddFilter (Filter *const pFilter, const UINT32 ID) |
Add a new item to the compatible filter list, which points to the given filter, and stores the given compatibility rating in the list entry. The list is kept in sorted order, i.e. the list item is added to the list according to its compatibility rating; the higher the rating, the closer it is to the head of the list. |
Definition at line 118 of file filtrmgr.h.
|
Initialises a list.
Definition at line 639 of file filtrmgr.cpp.
|
|
Add a new item to the compatible filter list, which points to the given filter, and stores the given compatibility rating in the list entry. The list is kept in sorted order, i.e. the list item is added to the list according to its compatibility rating; the higher the rating, the closer it is to the head of the list.
Definition at line 681 of file filtrmgr.cpp. 00682 { 00683 // Make a new list item for this filter. 00684 FilterEntry* pEntry = new FilterEntry(pFilter, ID); 00685 if (pEntry == NULL) 00686 { 00687 return FALSE; 00688 } 00689 00690 AddTail(pEntry); // can't fail 00691 00692 // All ok 00693 return TRUE; 00694 }
|