diff -r 000000000000 -r 164170e6151a pkiutilities/DeviceToken/Inc/DevandTruSrvCertStoreSession.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pkiutilities/DeviceToken/Inc/DevandTruSrvCertStoreSession.h Tue Jan 26 15:20:08 2010 +0200 @@ -0,0 +1,62 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: The header file of DevandTruSrvCertStoreSession +* +*/ + + + +#ifndef __DEVANDTRUSRVCERSTORESESSION_H__ +#define __DEVANDTRUSRVCERSTORESESSION_H__ + +#include "DevTokenServer.h" + +class RMessage2; +class CDevandTruSrvCertStoreConduit; + +/** + * A cert store session + * + * Handles client requests by passing them to the cert store conduit. + * + * @lib + * @since S60 v3.2 + */ +class CDevandTruSrvCertStoreSession : public CDevTokenServerSession + { + public: + + /** + * Create a new session object. + * + * @param aConduit The cert store conduit used to service user requests + * @return + */ + static CDevandTruSrvCertStoreSession* NewL(CDevandTruSrvCertStoreConduit& aConduit); + + private: + + CDevandTruSrvCertStoreSession(CDevandTruSrvCertStoreConduit& aConduit); + + virtual void DoServiceL(const RMessage2& aMessage); + + private: + + CDevandTruSrvCertStoreConduit& iConduit; + }; + +#endif //__DEVANDTRUSRVCERSTORESESSION_H__ + +//EOF +