os/ossrv/lowlevellibsandfws/pluginfw/Framework/T_PlatSecECom/T_PlatSecInterface.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/lowlevellibsandfws/pluginfw/Framework/T_PlatSecECom/T_PlatSecInterface.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,96 @@
     1.4 +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +#ifndef __T_PLATSECINTERFACE_H__
    1.20 +#define __T_PLATSECINTERFACE_H__
    1.21 +
    1.22 +#include <e32base.h>
    1.23 +#include <ecom/ecom.h>
    1.24 +
    1.25 +/**
    1.26 +Test interface used in PlatSec ECOM tests
    1.27 +@internalComponent
    1.28 +*/
    1.29 +class CPlatSecInterface1 : public CBase
    1.30 +{
    1.31 +public:
    1.32 +	static CPlatSecInterface1* NewL();
    1.33 +	virtual ~CPlatSecInterface1();
    1.34 +	virtual TUid ImplId() = 0;
    1.35 +
    1.36 +protected:
    1.37 +	inline CPlatSecInterface1();
    1.38 +
    1.39 +private:
    1.40 +	TUid iDtor_ID_Key;
    1.41 +};
    1.42 +
    1.43 +/**
    1.44 +Test interface used in PlatSec ECOM tests
    1.45 +@internalComponent
    1.46 +*/
    1.47 +class CPlatSecInterface2: public CBase
    1.48 +{
    1.49 +public:
    1.50 +	static CPlatSecInterface2* NewL();
    1.51 +	virtual ~CPlatSecInterface2();
    1.52 +	virtual TUid ImplId() = 0;
    1.53 +
    1.54 +protected:
    1.55 +	inline CPlatSecInterface2();
    1.56 +
    1.57 +private:
    1.58 +	TUid iDtor_ID_Key;
    1.59 +};
    1.60 +
    1.61 +/**
    1.62 +Test interface used in PlatSec ECOM tests
    1.63 +@internalComponent
    1.64 +*/
    1.65 +class CPlatSecInterface3: public CBase
    1.66 +{
    1.67 +public:
    1.68 +	static CPlatSecInterface3* NewL();
    1.69 +	virtual ~CPlatSecInterface3();
    1.70 +	virtual TUid ImplId() = 0;
    1.71 +
    1.72 +protected:
    1.73 +	inline CPlatSecInterface3();
    1.74 +
    1.75 +private:
    1.76 +	TUid iDtor_ID_Key;
    1.77 +};
    1.78 +
    1.79 +/**
    1.80 +Test interface used in PlatSec ECOM tests
    1.81 +@internalComponent
    1.82 +*/
    1.83 +class CPlatSecInterface4: public CBase
    1.84 +{
    1.85 +public:
    1.86 +	static CPlatSecInterface4* NewL();
    1.87 +	virtual ~CPlatSecInterface4();
    1.88 +	virtual TUid ImplId() = 0;
    1.89 +
    1.90 +protected:
    1.91 +	inline CPlatSecInterface4();
    1.92 +
    1.93 +private:
    1.94 +	TUid iDtor_ID_Key;
    1.95 +};
    1.96 +#include "T_PlatSecInterface.inl"
    1.97 +
    1.98 +#endif//__T_PLATSECINTERFACE_H__
    1.99 +