musichomescreen_multiview/musiccontentpublisher/inc/sapidatapluginconst.h
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  Content model for data plug-in.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SAPIDATAPLUGINCONST_H
       
    20 #define SAPIDATAPLUGINCONST_H
       
    21 
       
    22 #include <aicontentmodel.h>
       
    23 //#include "sapidatapluginuids.hrh"
       
    24 
       
    25 // AI Data Plug-in ECOM implementation UID.
       
    26 //const TInt KImplUidDataPlugin = SAPIDP_UID_ECOM_IMPLEMENTATION_CONTENTPUBLISHER_DATAPLUGIN;
       
    27 //const TUid KUidDataPlugin = { KImplUidDataPlugin };
       
    28 
       
    29 // ================================= CONTENT ===================================
       
    30 
       
    31 /**
       
    32  * Content Model type identifier
       
    33  */
       
    34 _LIT(KText ,"text");
       
    35 _LIT(KImage, "image");
       
    36 _LIT(KPlugin, "plugin");
       
    37 
       
    38 
       
    39 // CPS Constants
       
    40 _LIT(KService,         "service");
       
    41 _LIT(KInterface,       "interface");
       
    42 _LIT(KCommand,         "command");
       
    43 _LIT8( KType,          "type");
       
    44 _LIT( KCpData,         "cp_data");
       
    45 _LIT( KPubData,        "publisher" );
       
    46 _LIT8( KFilter,        "filter" );
       
    47 _LIT8( KDataMap,       "data_map");
       
    48 _LIT8( KActionTrigger, "action_trigger" );
       
    49 _LIT8( KGetList ,      "GetList" );
       
    50 _LIT( KExecute,       "execute" );
       
    51 _LIT8( KRequestNotification, "RequestNotification" );
       
    52 _LIT8( KChangeInfo, "change_info" );
       
    53 _LIT8( KListMap, "list_map" );
       
    54 _LIT8( KPublisherId, "publisher" );
       
    55 _LIT8( KContentType, "content_type" );
       
    56 _LIT8( KContentId,   "content_id" );
       
    57 _LIT8(KResults,      "results");
       
    58 _LIT( KAll, "all");
       
    59 _LIT8( KOperation, "operation" );
       
    60 
       
    61 _LIT( KOperationAdd, "add" );
       
    62 _LIT( KOperationUpdate, "update" );
       
    63 _LIT( KOperationDelete, "delete" );
       
    64 _LIT( KOperationExecute, "execute" );
       
    65 
       
    66 _LIT( KDeActive, "deactive");
       
    67 _LIT( KActive, "active");
       
    68 _LIT( KSuspend , "suspend");
       
    69 _LIT( KResume, "resume");
       
    70 
       
    71 // reserved extension for retrieving mask handle 
       
    72 _LIT8( KMask, "_mask");
       
    73 
       
    74 // Sapi Data Plugin Constants
       
    75 _LIT(KPluginNameSeprator, "/");
       
    76 
       
    77 /**
       
    78  * Maximum length for the content name
       
    79  */
       
    80 const TInt KMaxTypeLength = 8;
       
    81 
       
    82 /**
       
    83  * Maximum length for the content name
       
    84  */
       
    85 const TInt KSAPIContentNameMaxLength = 255;
       
    86 
       
    87 /**
       
    88  * Maximum length for the content value
       
    89  */
       
    90 const TInt KSAPIContentValueMaxLength = 255;
       
    91 
       
    92 /**
       
    93  * Maximum length for the plugin name
       
    94  */
       
    95 const TInt KAiPluginNameMaxLength = 255;
       
    96 
       
    97 
       
    98 #endif /* SAPIDATAPLUGINCONST_H */