testexecmgmt/ucc/Source/Uccs.v2/DeviceControlChannel/CFrameBuffer.h
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     1 /*
       
     2 * Copyright (c) 2005-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 * CFrameBuffer Class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef _CFrameBuffer_H
       
    22 #define _CFrameBuffer_H
       
    23 
       
    24 /*****************************************************************************
       
    25  *
       
    26  * System Includes 
       
    27  *
       
    28  ****************************************************************************/
       
    29 
       
    30 /*****************************************************************************
       
    31  *
       
    32  * Local Includes
       
    33  *
       
    34  ****************************************************************************/
       
    35 #include "CProtocolTypes.h"
       
    36 
       
    37 /*****************************************************************************
       
    38  *
       
    39  *  Types
       
    40  *
       
    41  ****************************************************************************/
       
    42 typedef enum {
       
    43 	TFB_SUCCESS,
       
    44 	TFB_INVALIDARGS,
       
    45 	TFB_BUFFERTOOSMALL
       
    46 } TFBError;
       
    47 
       
    48 /*****************************************************************************
       
    49  *
       
    50  *  Defines
       
    51  *
       
    52  ****************************************************************************/
       
    53 
       
    54 /*****************************************************************************
       
    55  *
       
    56  * Class Definition
       
    57  *
       
    58  ****************************************************************************/
       
    59 class CFrameBuffer
       
    60 {
       
    61 public:
       
    62 
       
    63 	static TFBError createSendBuffer (int aUID, TPCommand aSendCommand, int aDataLength, char* aData, char* aFrame, int* aFrameSize);
       
    64 };
       
    65 
       
    66 #endif