#include <filters.h>
Inheritance diagram for GenericFilter:
Public Member Functions | |
GenericFilter () | |
Sets up the generic filter object to interface to all the installed filters. | |
BOOL | Init () |
Set up a generic filter object. This creates the associated OILFilter object, and sets up the filter ID number and strings. | |
Private Member Functions | |
CC_DECLARE_DYNAMIC (GenericFilter) |
Definition at line 1051 of file filters.h.
|
Sets up the generic filter object to interface to all the installed filters.
Definition at line 5188 of file filters.cpp. 05189 { 05190 // This is the generic filter, so we want *all* filters in it. 05191 pFilterType = CC_RUNTIME_CLASS(Filter); 05192 }
|
|
|
|
Set up a generic filter object. This creates the associated OILFilter object, and sets up the filter ID number and strings.
Implements Filter. Definition at line 5208 of file filters.cpp. 05209 { 05210 // Get the OILFilter object 05211 pOILFilter = new OILFilterFamily(this, _R(IDT_FILTERNAME_GENERIC)); 05212 if (pOILFilter == NULL) 05213 return FALSE; 05214 05215 // Load the description strings 05216 FilterName.Load(_R(IDT_GENERIC_FILTERNAME)); 05217 FilterInfo.Load(_R(IDT_GENERIC_FILTERINFO)); 05218 FilterID = FILTERID_GENERIC; 05219 05220 // All ok 05221 return TRUE; 05222 }
|