IEBgps/inc/IEBgpsInfo.h
changeset 3 93fff7023be8
equal deleted inserted replaced
2:e1e28b0273b0 3:93fff7023be8
       
     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: Juha Kauppinen, Mika Hokkanen
       
    13 * 
       
    14 * Description: Photo Browser
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __IEBGPSINFO_H__
       
    19 #define __IEBGPSINFO_H__
       
    20 
       
    21 // Include files
       
    22 #include <e32base.h> 
       
    23 
       
    24 /**
       
    25  * Server name
       
    26  */
       
    27 _LIT(KIEBgpServerName, "IEBgpServer_0x2002135"); 
       
    28 
       
    29 /**
       
    30  * Server version
       
    31  */
       
    32 const TUint KIEBgpServerMajorVersion = 0;
       
    33 const TUint KIEBgpServerMinorVersion = 1;
       
    34 const TUint KIEBgpServerBuildVersion = 1; 
       
    35 
       
    36 /**
       
    37  * Default message slots for the server
       
    38  */
       
    39 const TInt KIEDefaultMsgSlot = 4; 
       
    40 
       
    41 /**
       
    42  * Thread's max and min heap sizes
       
    43  */
       
    44 const TUint KIEHeapSizeMin = 0x10000;
       
    45 const TUint KIEHeapSizeMax = 0x3000000;
       
    46 
       
    47 enum TImageArrayMode
       
    48     {
       
    49     EImages = 1,
       
    50     EFaces
       
    51     };
       
    52 
       
    53 /**
       
    54  * Server seesion sevices
       
    55  */
       
    56 enum TIEBgpServerRequests
       
    57 {
       
    58 	EIESrvTest = 1,
       
    59 	EIESrvCloseSession,
       
    60 	EIEThumbnailGeneration,
       
    61 	EIESingleTNGeneration,
       
    62 	EIESingleTNGenerationWithBitmap,
       
    63 	EIECancelThumbnailGeneration ,
       
    64 	EIEStartProcessing
       
    65 };
       
    66 
       
    67 enum TBGPSEventCode
       
    68 {
       
    69 	EEventNone = 1,
       
    70 	ETNGenerationcomplete,
       
    71 	ETNGenerationCancelled,
       
    72 	EFaceDetectionComplete,
       
    73 	EFaceAddedToExif,
       
    74 	EFaceRemovedFromExif,
       
    75 	ESingleFaceDetectionComplete,
       
    76 	EFaceDetectionCancelled
       
    77 };
       
    78 
       
    79 /**
       
    80  * starts the server thread
       
    81  * called by client
       
    82  */
       
    83 IMPORT_C TInt CreateServerThread(RThread& aThread);
       
    84 
       
    85 #endif // __IEBGPSINFO_H__