harvesterplugins/media/mediautils/src/cpixdocfetcher.cpp
changeset 16 e918432ddd92
parent 9 4a2987baf8f7
equal deleted inserted replaced
15:df6898e696c6 16:e918432ddd92
    23 #include <mdeitem.h>
    23 #include <mdeitem.h>
    24 #include <mdeconstants.h>
    24 #include <mdeconstants.h>
    25 #include <mdeobjectdef.h>
    25 #include <mdeobjectdef.h>
    26 #include "harvesterserverlogger.h"
    26 #include "harvesterserverlogger.h"
    27 
    27 
    28 #define CPIX_MIMETYPE_FIELD      L"_mimetype"
       
    29 #define LCPIX_MIMETYPE_FIELD     L"_mimetype"
       
    30 const TInt KInitialExcerptLength = 5;
       
    31 const TInt KStartPosition = 2; //Start position of absolute path
       
    32 const TInt KDrivePosition = 0; //Drive position in object Uri
       
    33 const TInt KMaxMediaLength = 14;
       
    34 const TInt KMaxExtLength = 5;
       
    35 //To unsigned decimal representation as UIds are out of range for signed decimal
       
    36 _LIT(KFormat, "%u");
       
    37 _LIT(KNameField, "Name");
       
    38 _LIT(KMediaIdField, "MediaId");
       
    39 _LIT(KExtensionField, "Extension");
       
    40 _LIT(KExcerptDelimiter, " ");
       
    41 
    28 
    42 // -----------------------------------------------------------------------------
    29 // -----------------------------------------------------------------------------
    43 // CCPIXDocFetcher::NewL()
    30 // CCPIXDocFetcher::NewL()
    44 // -----------------------------------------------------------------------------
    31 // -----------------------------------------------------------------------------
    45 //
    32 //