menufw/hierarchynavigator/hnmetadatamodel/inc/hnglobals.h
branchRCL_3
changeset 102 ba63c83f4716
parent 93 b01126ce0bec
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
   108     _LIT8( KLogicalHas8,            "HAS" );
   108     _LIT8( KLogicalHas8,            "HAS" );
   109 
   109 
   110     /**
   110     /**
   111      * Has not.
   111      * Has not.
   112      */
   112      */
   113     _LIT8( KLogicalHasNot8,         "HASNOT" );
   113 	_LIT8( KLogicalHasNot8,         "HASNOT" );
   114 
       
   115     /**
       
   116      * Uid param for uri.
       
   117      */
       
   118     _LIT8( KParamUid8,              "&uid=" );
       
   119     }
   114     }
   120 
   115 
   121 /**
   116 /**
   122  * Event namespace
   117  * Event namespace
   123  */
   118  */
   290 _LIT(	KMbg,                       ".mbg");
   285 _LIT(	KMbg,                       ".mbg");
   291 _LIT(	KRscPath,                   ":\\resource\\apps\\");
   286 _LIT(	KRscPath,                   ":\\resource\\apps\\");
   292 
   287 
   293 _LIT(   KPrefMm,                    "mm://" );
   288 _LIT(   KPrefMm,                    "mm://" );
   294 _LIT8(  KRootWithPref,              "mm://root" );
   289 _LIT8(  KRootWithPref,              "mm://root" );
   295 _LIT8(  KSetFocusWithPref,          "mm://!setfocus" );
   290 _LIT8(  KSetFocusWithPref,              "mm://!setfocus" );
   296 _LIT8(  KOpenItemWithPref,          "mm://!openitem" );
       
   297 _LIT8(   KCRepTimeFormat, "%S,%04d%02d%02d:%02d%02d%02d.%06d" );
   291 _LIT8(   KCRepTimeFormat, "%S,%04d%02d%02d:%02d%02d%02d.%06d" );
   298 
   292 
   299 // images
   293 // images
   300 _LIT8(  KSkinIdMajor8,              "skinid_major" );
   294 _LIT8(  KSkinIdMajor8,              "skinid_major" );
   301 _LIT8(  KSkinIdMinor8,              "skinid_minor" );
   295 _LIT8(  KSkinIdMinor8,              "skinid_minor" );
   431 
   425 
   432 #endif// _DEBUG
   426 #endif// _DEBUG
   433 
   427 
   434 // info notes for notifying lack of configuration files
   428 // info notes for notifying lack of configuration files
   435 _LIT( KDebugNoteDirNotFound,
   429 _LIT( KDebugNoteDirNotFound,
   436   "Directory containing suite configuration not found!" );
   430 	"Directory containing suite configuration not found!" );
   437 _LIT( KDebugNoteFileNotFound,
   431 _LIT( KDebugNoteFileNotFound,
   438   "File containing suite configuration not found!" );
   432 	"File containing suite configuration not found!" );
   439 _LIT( KDebugNoteOtherError,
   433 _LIT( KDebugNoteOtherError,
   440   "Loading suite configuration returned error: %d" );
   434 	"Loading suite configuration returned error: %d" );
   441 
   435 
   442 _LIT8( KStar8, "*" );
   436 _LIT8( KStar8, "*" );
   443 
   437 
   444 
   438 
   445 _LIT( 	KKeyEmpty,                  "key:empty" );
   439 _LIT( 	KKeyEmpty,                  "key:empty" );
   512 
   506 
   513 const TInt KRootId = 1 ;
   507 const TInt KRootId = 1 ;
   514 
   508 
   515 const TUint32 KMenuShowFolder = 0x0000000c;
   509 const TUint32 KMenuShowFolder = 0x0000000c;
   516 
   510 
   517 const TUint32 KMenuOpenItem = 0x0000000e;
       
   518 
       
   519 const TInt KTimeStampBufferLength = 25;
   511 const TInt KTimeStampBufferLength = 25;
   520 
   512 
   521 const TInt KUidStringLength = 10;
   513 const TInt KUidStringLength = 10;
   522 
   514 
   523 const TInt KTimeStampCutOff = 5;
   515 const TInt KTimeStampCutOff = 5;
   524 
   516 
   525 /**
   517 /**
   526  * Order in which drives are searched for suites.
   518  * Order in which drives are searched for suites.
   527  */
   519  */
   528 const TInt KDriveSearchOrder[] = { EDriveY, EDriveX, EDriveW, EDriveV, EDriveU,
   520 const TInt KDriveSearchOrder[] = { EDriveY, EDriveX, EDriveW, EDriveV, EDriveU,
   529     EDriveT, EDriveS, EDriveR, EDriveQ, EDriveP, EDriveO, EDriveN, EDriveM,
   521 		EDriveT, EDriveS, EDriveR, EDriveQ, EDriveP, EDriveO, EDriveN, EDriveM,
   530     EDriveL, EDriveK, EDriveJ, EDriveI, EDriveH, EDriveG, EDriveF, EDriveE,
   522 		EDriveL, EDriveK, EDriveJ, EDriveI, EDriveH, EDriveG, EDriveF, EDriveE,
   531     EDriveD, EDriveC, EDriveB, EDriveA,	EDriveZ	};
   523 		EDriveD, EDriveC, EDriveB, EDriveA,	EDriveZ	};
   532 
   524 
   533 /**
   525 /**
   534  * Type of the widget which displays Suite data
   526  * Type of the widget which displays Suite data
   535  *
   527  *
   536  * @since S60 v5.0
   528  * @since S60 v5.0
   568 
   560 
   569 /**
   561 /**
   570  * Custom item ids.
   562  * Custom item ids.
   571  */
   563  */
   572 enum TCustomId
   564 enum TCustomId
   573   {
   565 	{
   574   ECustomIdFirstItem = -2,
   566 	ECustomIdFirstItem = -2,
   575   ECustomIdLastItem = -3
   567 	ECustomIdLastItem = -3
   576   };
   568 	};
   577 
   569 
   578 /**
   570 /**
   579  * Suite's exit mode
   571  * Suite's exit mode
   580  */
   572  */
   581 enum TExitMode
   573 enum TExitMode
   586 
   578 
   587 /**
   579 /**
   588  * Type of change in items number
   580  * Type of change in items number
   589  */
   581  */
   590 enum TItemsChangeType {
   582 enum TItemsChangeType {
   591   EItemsAdded = 0,
   583 	EItemsAdded = 0,
   592   EItemsRemoved
   584 	EItemsRemoved
   593 };
   585 };
   594 
   586 
   595 _LIT8( KExitModeParams,  "params:exit" );
   587 _LIT8( KExitModeParams,  "params:exit" );
   596 _LIT8( KActionParams,  "params:action" );
   588 _LIT8( KActionParams,  "params:action" );
   597 _LIT(  KExitModeHide,    "hide" );
   589 _LIT(  KExitModeHide,    "hide" );