Update contrib.
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // TPDStreamLoader class
18 #ifndef __SC_STRMIN_H__
19 #define __SC_STRMIN_H__
21 #include "SC_Policy.h"
27 TPDStreamLoader class is an implementation of MPolicyDomainLoader interface and is used
28 for loading security policies from a binary policy file. The class uses TPolicyDomainBuilder
29 class functionality for adding loaded policies to the controlled by TPolicyDomainBuilder
30 instance CPolicyDomain collection.
31 @see MPolicyDomainLoader
32 @see TPolicyDomainBuilder
33 @see CPolicyBase::RPolicyCollection
37 NONSHARABLE_CLASS(TPDStreamLoader) : public MPolicyDomainLoader
40 inline TPDStreamLoader(RReadStream& aStream) :
44 virtual void RunL(TPolicyDomainBuilder& aPolicyDomainBuilder);
47 void LoadPolicyCollectionL(CPolicyBase::RPolicyCollection& aPolicyColl);
53 } //end of - namespace DBSC
55 #endif//__SC_STRMIN_H__