// $Id: ZIdentityListFilter.h 2088 2008-11-23 20:26:46Z matevz $ // Copyright (C) 1999-2008, 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 <Glasses/ZMirFilter.h> #include <Glasses/ZHashList.h> class ZIdentityListFilter : public ZMirFilter { MAC_RNR_FRIENDS(ZIdentityListFilter); private: void _init(); protected: ZLink<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 #endif