os/security/cryptoservices/certificateandkeymgmt/tcertstore/filecertstorenibbler.h
First public contribution.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
26 #ifndef __FILECERTSTORENIBBLER_H__
27 #define __FILECERTSTORENIBBLER_H__
34 class CFileCertstoreNibbler : public CTimer
37 static CFileCertstoreNibbler* NewL(TTimeIntervalMicroSeconds32 aInterval);
38 ~CFileCertstoreNibbler();
42 virtual void ConstructL();
44 virtual TInt RunError(TInt aError);
46 CFileCertstoreNibbler(TTimeIntervalMicroSeconds32 aInterval);
48 void NibbleFileL(); // writes to filecertstore file to test concurrency
51 TTimeIntervalMicroSeconds32 iNibbleInterval;
52 TStreamId iNibbleStreamId;
55 #endif // __FILECERTSTORENIBBLER_H__