testdev/ite/test/com.nokia.testfw.cmdtool.test/test.resource/unittest/several.mmp.in.one.path/SysLibs/ECom/InterfaceImplementation/CImplementationClassTwo.h
changeset 1 96906a986c3b
equal deleted inserted replaced
0:f1112f777ce9 1:96906a986c3b
       
     1 //
       
     2 // CImplementationClassTwo.h
       
     3 // Copyright © 2001 Symbian Ltd. All rights reserved.
       
     4 //
       
     5 
       
     6 #ifndef _CIMPLEMENTATIONCLASSTWO__
       
     7 #define _CIMPLEMENTATIONCLASSTWO__
       
     8 
       
     9 #include <Interface.h>
       
    10 
       
    11 // An implementation of the CExampleInterface definition
       
    12 class CImplementationClassTwo : public CExampleInterface
       
    13 	{
       
    14 public:
       
    15 	// Standardised safe construction which leaves nothing the cleanup stack.
       
    16 	static CImplementationClassTwo* NewL(TAny* aInitParams);
       
    17 	// Destructor	
       
    18 	~CImplementationClassTwo();
       
    19 
       
    20 	// Implementation of CExampleInterface
       
    21 	void DoMethodL(TDes& aString);
       
    22 
       
    23 private:
       
    24 	// Construction
       
    25 	CImplementationClassTwo(TAny* aInitParams);
       
    26 	void ConstructL();
       
    27 
       
    28 private:
       
    29 	// Data to pass back from implementation to client
       
    30 	HBufC* iDescriptor;
       
    31 	// Parameters taken from client
       
    32 	CExampleInterface::TExampleInterfaceInitParams* iInitParams;
       
    33 	};  
       
    34 
       
    35 #endif