dbgagents/trkagent/dbgtrccomm/server/ostmessage.h
changeset 0 c6b0df440bee
equal deleted inserted replaced
-1:000000000000 0:c6b0df440bee
       
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef __OstMessage_h__
       
    19 #define __OstMessage_h__
       
    20 
       
    21 // System includes
       
    22 #include <e32base.h>
       
    23 #include "ostprotdefs.h"
       
    24 
       
    25 
       
    26 class COstMessage : public CBase
       
    27 {
       
    28 	public:
       
    29 		static 	COstMessage*	NewL(TDesC8& aMsg);
       
    30 				~COstMessage();
       
    31 	
       
    32 	//private construct
       
    33 	private:
       
    34 				COstMessage();
       
    35 		void	ConstructL(TDesC8& aMsg);
       
    36 
       
    37 	public:	
       
    38 		HBufC8 *iMsgBuffer;
       
    39 		TOstProtIds iProtId;
       
    40 		TUint iLength;
       
    41 };
       
    42 
       
    43 #endif //__OstMessage_h__