kerneltest/e32test/device/d_newldd.h
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 2008-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 the License "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 // LDD for testing operator new kernel side
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __D_NEWLDD_H
       
    19 #define __D_NEWLDD_H
       
    20 
       
    21 #include <kernel/kernel.h>
       
    22 #include <e32cmn.h>
       
    23 
       
    24 #include "t_new_classes.h"
       
    25 
       
    26 
       
    27 
       
    28 class DOperatorNewTestFactory : public DLogicalDevice
       
    29 {
       
    30 public:
       
    31 	TInt Install();
       
    32 	void GetCaps(TDes8& aDes) const;
       
    33 	TInt Create(DLogicalChannelBase*& aChannel);
       
    34 };
       
    35 
       
    36 class DOperatorNewTest : public DLogicalChannelBase
       
    37 {
       
    38 public:
       
    39 	virtual TInt Request(TInt aReqNo, TAny* a1, TAny* a2);
       
    40 private:
       
    41 	TInt TestNew();
       
    42 	TInt TestPlacementNew();
       
    43 	TInt TestPlacementVectorNew();
       
    44 	TInt TestVectorNew();
       
    45 };
       
    46 
       
    47 
       
    48 #endif //__D_NEWLDD_H
       
    49