Example #1
0
    public bool SetCurFilter(e_InputFilter_Type eInputFilterType)
    {
        if (CurFilterType == eInputFilterType)
            return true;

        CurFilter = CreateFilter(eInputFilterType);
        return CurFilter != null;
    }
Example #2
0
    protected ECInputFilter CreateFilter(e_InputFilter_Type eInputFilterType)
    {
        switch (eInputFilterType)
        {
            case e_InputFilter_Type.INPUTFILTER_TYPE_HP:
                return new ECHPInputFilter(this);

            default:
                return null;
        }
    }
Example #3
0
 public ECInputFilter(e_InputFilter_Type eType, ECInputCtrl ctrl)
 {
     Type = eType;
     Ctrl = ctrl;
 }