locationrequestmgmt/locationserver/test/testLocMonitorServer/inc/Utility.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 /*
       
     2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __UTILITY_H__
       
    20 #define __UTILITY_H__
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 class RMessage2;
       
    25 class TDes8;
       
    26 class TDesC8;
       
    27 class TDes16;
       
    28 class TDesC16;
       
    29 
       
    30 namespace Utility
       
    31 	{
       
    32 	// Panic the client
       
    33 	void PanicClient(TInt aPanic, const RMessage2& aMessage);
       
    34 	TInt Write(const RMessage2& aMessage, TInt aArg, const TDesC8& aDes, TInt aOffset=0);
       
    35 	TInt Read(const RMessage2& aMessage, TInt aArg, TDes8& aDes, TInt aOffset=0);
       
    36 	TInt Write(const RMessage2& aMessage, TInt aArg, const TDesC16& aDes, TInt aOffset=0);
       
    37 	TInt Read(const RMessage2& aMessage, TInt aArg, TDes16& aDes, TInt aOffset=0);
       
    38 	}
       
    39 
       
    40 #endif // __UTILITY_H__