localconnectivityservice/obexreceiveservices/bip/inc/BIPImageHandler.h
branchRCL_3
changeset 39 4096754ee773
parent 38 3dcb815346df
child 40 52a167391590
equal deleted inserted replaced
38:3dcb815346df 39:4096754ee773
     1 /*
       
     2 * Copyright (c) 2002 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:  Bip image handler class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _BIPIMAGEHANDLER_H
       
    20 #define _BIPIMAGEHANDLER_H
       
    21 
       
    22 //INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <obex.h>
       
    25 #include "debug.h"
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Generates image handles and sets them to obex response packets.
       
    33 */
       
    34 NONSHARABLE_CLASS (CBIPImageHandler) : public CBase
       
    35     {
       
    36     public: //Constructors and destructors
       
    37 
       
    38         /**
       
    39         * Two-phased constructor.
       
    40         */
       
    41         static CBIPImageHandler* NewL();
       
    42         
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         virtual ~CBIPImageHandler();
       
    47 
       
    48     public:     //New Functions
       
    49 
       
    50 		/**
       
    51         * Adds Image handle to Obex response packet
       
    52         * @param    aObexServer         Current obex server
       
    53         * @return                       None.
       
    54         */
       
    55         void AddImageHandleHeaderL( CObexServer* aObexServer );
       
    56 
       
    57     private:
       
    58 
       
    59         /**
       
    60         * C++ default constructor.
       
    61         */
       
    62         CBIPImageHandler();
       
    63 
       
    64         /**
       
    65         * Symbian 2nd phase constructor.
       
    66         */
       
    67         void ConstructL();
       
    68     
       
    69     private:    // Data
       
    70         TUint           iImageHandleValue;
       
    71         
       
    72     };
       
    73 
       
    74 #endif      //_BIPIMAGEHANDLER_H
       
    75 
       
    76 // End of File