williamr@2: /* williamr@2: * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * under the terms of the License "Eclipse Public License v1.0" williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: @file williamr@2: @publishedPartner williamr@2: @released williamr@2: */ williamr@2: williamr@2: #ifndef __TCTALLTOKENTYPES_H__ williamr@2: #define __TCTALLTOKENTYPES_H__ williamr@2: williamr@2: #include williamr@2: williamr@2: williamr@2: /** williamr@2: * A filter that includes all token types. williamr@2: * williamr@2: * Used by CCTTokenTypeInfo::ListL() williamr@2: * williamr@2: * @see MCTTokenTypeFilter. williamr@2: */ williamr@2: class TCTAllTokenTypes : public MCTTokenTypeFilter williamr@2: { williamr@2: public: williamr@2: /** williamr@2: * Tests whether to accept all token types. williamr@2: * williamr@2: * Note that it always returns ETrue. williamr@2: * williamr@2: * @param aTokenType The token type to be tested. williamr@2: * @return ETrue always. williamr@2: */ williamr@2: IMPORT_C virtual TBool Accept(const CCTTokenTypeInfo& aTokenType) const; williamr@2: }; williamr@2: williamr@2: #endif // __TCTALLTOKENTYPES_H__