windowing/windowserver/stdgraphic/stdgraphictest.cpp
changeset 0 5d03bc08d59c
child 121 d72fc2aace31
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 1995-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 //
       
    15 
       
    16 #include "Graphics/W32STDGRAPHICTEST.H"
       
    17 
       
    18 EXPORT_C TWsGraphicFrameRate::TWsGraphicFrameRate():
       
    19 	TWsGraphicMsgFixedBase(TUid::Uid(ETypeId),sizeof(*this))
       
    20 	{
       
    21 	}
       
    22 
       
    23 LOCAL_C const TUid KUidWsGraphicTestFrameRate = {0x10281AB2};
       
    24 
       
    25 EXPORT_C CWsGraphicTestFrameRate* CWsGraphicTestFrameRate::NewL()
       
    26 	{
       
    27 	CWsGraphicTestFrameRate* self = new(ELeave) CWsGraphicTestFrameRate;
       
    28 	CleanupStack::PushL(self);
       
    29 	self->BaseConstructL(KUidWsGraphicTestFrameRate,KNullDesC8());
       
    30 	CleanupStack::Pop(self);
       
    31 	return self;
       
    32 	}
       
    33 
       
    34 EXPORT_C CWsGraphicTestFrameRate* CWsGraphicTestFrameRate::NewL(TUid aUid)
       
    35 	{
       
    36 	CWsGraphicTestFrameRate* self = new(ELeave) CWsGraphicTestFrameRate;
       
    37 	CleanupStack::PushL(self);
       
    38 	self->BaseConstructL(aUid,KUidWsGraphicTestFrameRate,KNullDesC8());
       
    39 	CleanupStack::Pop(self);
       
    40 	return self;
       
    41 	}
       
    42 
       
    43 EXPORT_C CWsGraphicTestFrameRate* CWsGraphicTestFrameRate::NewL(const TWsGraphicId& aReplace)
       
    44 	{
       
    45 	CWsGraphicTestFrameRate* self = new(ELeave) CWsGraphicTestFrameRate;
       
    46 	CleanupStack::PushL(self);
       
    47 	self->BaseConstructL(aReplace,KUidWsGraphicTestFrameRate,KNullDesC8());
       
    48 	CleanupStack::Pop(self);
       
    49 	return self;
       
    50 	}
       
    51 
       
    52 EXPORT_C CWsGraphicTestFrameRate::~CWsGraphicTestFrameRate()
       
    53 	{
       
    54 	}
       
    55 
       
    56 CWsGraphicTestFrameRate::CWsGraphicTestFrameRate()
       
    57 	{
       
    58 	}
       
    59 
       
    60 void CWsGraphicTestFrameRate::HandleMessage(const TDesC8& /*aData*/)
       
    61 	{
       
    62 	}
       
    63 
       
    64 void CWsGraphicTestFrameRate::OnReplace()
       
    65 	{
       
    66 	}