Update contrib.
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.
25 #ifndef __CBROKENRANDOM_H__
26 #define __CBROKENRANDOM_H__
31 class CRandomSetSource : public CRandom
34 CRandomSetSource(const TDesC8& aSource);
35 virtual void GenerateBytesL(TDes8& aDest);
36 void SetSource(const TDesC8& aSource);
40 mutable TUint iCounter;
43 class CRandomIncrementing : public CRandom
46 CRandomIncrementing(TUint aInitialValue);
47 virtual void GenerateBytesL(TDes8& aDest);
53 #endif // __CBROKENRANDOM_H__