mmappcomponents/mmmtpdataprovider/inc/mmmtpvideodbdefs.h
changeset 0 a2952bb97e68
child 14 05b0d2323768
child 25 d881023c13eb
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     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 
       
    19 #ifndef MMMTPVIDEODEFS_H
       
    20 #define MMMTPVIDEODEFS_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <mmf/common/mmfmeta.h>
       
    24 
       
    25 // CONSTANTS
       
    26 _LIT( KMtpVideoTable,                "Video" );
       
    27 
       
    28 // field
       
    29 _LIT( KMtpVideoLocation,             "Location" );
       
    30 _LIT( KMtpVideoName,                 "Name" );
       
    31 _LIT( KMtpVideoArtist,               "Artist" );
       
    32 _LIT( KMtpVideoTrack,                "Track" );
       
    33 _LIT( KMtpVideoGenre,                "Genre" );
       
    34 _LIT( KMtpVideoAlbumName,            "AlbumName" );
       
    35 _LIT( KMtpVideoComposer,             "Composer" );
       
    36 _LIT( KMtpVideoOrigReleaseDate,      "OrigReleaseDate" );
       
    37 _LIT( KMtpVideoComment,              "Comment" );
       
    38 
       
    39 _LIT( KMtpVideoWidth,                "Width" );
       
    40 _LIT( KMtpVideoHeight,               "Height" );
       
    41 _LIT( KMtpVideoDuration,             "Duration" );
       
    42 
       
    43 _LIT( KMtpVideoSampleRate,           "SampleRate" );
       
    44 _LIT( KMtpVideoNumberOfChannels,     "NumberOfChannels" );
       
    45 _LIT( KMtpVideoAudioCodec,           "AudioCodec" );
       
    46 _LIT( KMtpVideoAudioBitrate,         "AudioBitrate" );
       
    47 
       
    48 _LIT( KMtpVideoVideoCodec,           "VideoCodec" );
       
    49 _LIT( KMtpVideoVideoBitrate,         "VideoBitrate" );
       
    50 _LIT( KMtpVideoFramesPer1000Sec,     "FramesPer1000Sec" );
       
    51 _LIT( KMtpVideoKeyFrameDistance,     "KeyFrameDistance" );
       
    52 _LIT( KMtpVideoScanType,             "ScanType" );
       
    53 _LIT( KMtpVideoEncodingProfile,      "EncodingProfile" );
       
    54 
       
    55 _LIT( KMtpVideoParentalRating,       "ParentalRating" );
       
    56 _LIT( KMtpVideoUseCount      ,       "UseCount" );
       
    57 _LIT( KMtpVideoDRM,                  "DRM" );
       
    58 
       
    59 _LIT( KMtpVideoDeleted,              "Deleted" );
       
    60 
       
    61 // field type
       
    62 _LIT( KMtpVideoLocationType,         " CHAR (255) NOT NULL" );
       
    63 _LIT( KMtpVideoNameType,             " LONG VARCHAR" );
       
    64 _LIT( KMtpVideoArtistType,           " LONG VARCHAR" );
       
    65 _LIT( KMtpVideoTrackType,            " UNSIGNED SMALLINT" );
       
    66 _LIT( KMtpVideoGenreType,            " LONG VARCHAR" );
       
    67 _LIT( KMtpVideoAlbumNameType,        " LONG VARCHAR" );
       
    68 _LIT( KMtpVideoComposerType,         " LONG VARCHAR" );
       
    69 _LIT( KMtpVideoOrigReleaseDateType,  " LONG VARCHAR" );
       
    70 _LIT( KMtpVideoCommentType,          " LONG VARCHAR" );
       
    71 
       
    72 _LIT( KMtpVideoWidthType,            " UNSIGNED INTEGER" );
       
    73 _LIT( KMtpVideoHeightType,           " UNSIGNED INTEGER" );
       
    74 _LIT( KMtpVideoDurationType,         " UNSIGNED INTEGER" );
       
    75 
       
    76 _LIT( KMtpVideoSampleRateType,       " UNSIGNED INTEGER" );
       
    77 _LIT( KMtpVideoNumberOfChannelsType, " UNSIGNED SMALLINT" );
       
    78 _LIT( KMtpVideoAudioCodecType,       " UNSIGNED INTEGER" );
       
    79 _LIT( KMtpVideoAudioBitrateType,     " UNSIGNED INTEGER" );
       
    80 
       
    81 _LIT( KMtpVideoVideoCodecType,       " UNSIGNED INTEGER" );
       
    82 _LIT( KMtpVideoVideoBitrateType,     " UNSIGNED INTEGER" );
       
    83 _LIT( KMtpVideoFramesPer1000SecType, " UNSIGNED INTEGER" );
       
    84 _LIT( KMtpVideoKeyFrameDistanceType, " UNSIGNED INTEGER" );
       
    85 _LIT( KMtpVideoScanTypeType,         " UNSIGNED SMALLINT" );
       
    86 _LIT( KMtpVideoEncodingProfileType,  " LONG VARCHAR" );
       
    87 
       
    88 _LIT( KMtpVideoParentalRatingType,   " LONG VARCHAR" );
       
    89 _LIT( KMtpVideoUseCountType,         " UNSIGNED INTEGER" );
       
    90 _LIT( KMtpVideoDRMType,              " UNSIGNED SMALLINT" );
       
    91 
       
    92 _LIT( KMtpVideoDeletedType,          " BIT" );
       
    93 
       
    94 // operation
       
    95 _LIT( KMtpVideoStartCreateTable,     "CREATE TABLE " );
       
    96 _LIT( KMtpVideoCommaSign,            "," ); 
       
    97 _LIT( KMtpVideoSingleQuote,          "'" );
       
    98 _LIT( KMtpVideoOpenBracket,          "(" );
       
    99 _LIT( KMtpVideoCloseBracket,         ")" );
       
   100 
       
   101 // Db file
       
   102 _LIT( KMtpVideoDb,                   "MtpVideoDb.db" );
       
   103 
       
   104 #endif // MMMTPVIDEODEFS_H