// $Header: /cvs/gled-1.2/GledCore/Glasses/ZIdentityListFilter.h,v 1.6 2005/03/11 17:50:15 matevz Exp $ // Copyright (C) 1999-2005, Matevz Tadel. All rights reserved. // This file is part of GLED, released under GNU General Public License version 2. // For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/. #ifndef GledCore_ZIdentityListFilter_H #define GledCore_ZIdentityListFilter_H #include #include class ZIdentityListFilter : public ZMirFilter { MAC_RNR_FRIENDS(ZIdentityListFilter); private: void _init(); protected: ZHashList* mIdentities; // X{gS} L{} UChar_t mOnMatch; // X{gS} 7 PhonyEnum(-type=>ZMirFilter::Result_e, -names=>[R_Allow,R_Deny],-width=>6) public: ZIdentityListFilter(const Text_t* n="ZIdentityListFilter", const Text_t* t=0) : ZMirFilter(n,t) { _init(); } virtual Result_e FilterMIR(ZMIR& mir); #include "ZIdentityListFilter.h7" ClassDef(ZIdentityListFilter, 1) }; // endclass ZIdentityListFilter GlassIODef(ZIdentityListFilter); #endif