lowlevellibsandfws/pluginfw/Framework/Example/exampleNine.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 2006-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // A simple ECOM interface for testing purpose.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef __EXAMPLENINE_H__
       
    24 #define __EXAMPLENINE_H__
       
    25 
       
    26 #include <ecom/ecom.h>
       
    27 
       
    28 const TUid KRogueInterfaceUid = {0x00001001};
       
    29 const TInt32 KRogueImplUidValue = 0x10009DC3;
       
    30 const TUid KRogueImplUid = {KRogueImplUidValue};
       
    31 
       
    32 /** A dummy plugin for testing purpose */
       
    33 NONSHARABLE_CLASS(CRoguePlugin) : public CBase
       
    34 {
       
    35 public:
       
    36 	static CRoguePlugin* NewL(TAny*);
       
    37 	virtual ~CRoguePlugin();
       
    38 
       
    39 	// a virtual function to test this interface
       
    40 	virtual TUid InterfaceUid();
       
    41 
       
    42 private:
       
    43 	CRoguePlugin();
       
    44 
       
    45 private:
       
    46 	TUid iDtorID;
       
    47 };
       
    48 
       
    49 #endif // __EXAMPLENINE_H__