commands/pubsub/pubsub.cpp
changeset 69 849a0b46c767
parent 51 3ad902ef5222
equal deleted inserted replaced
68:6a26ca985d90 69:849a0b46c767
   274 	TInt valInt;
   274 	TInt valInt;
   275 	RBuf8& valDes = iValDescription;
   275 	RBuf8& valDes = iValDescription;
   276 	valDes.Zero();
   276 	valDes.Zero();
   277 	enum TType { EUnknown, EInt, EDes };
   277 	enum TType { EUnknown, EInt, EDes };
   278 	TType type = EUnknown;
   278 	TType type = EUnknown;
   279 	TInt reallen = 0;
       
   280 
   279 
   281 	TInt err = KErrNotFound;
   280 	TInt err = KErrNotFound;
   282 
   281 
   283 #if defined (FSHELL_MEMORY_ACCESS_SUPPORT)
   282 #if defined (FSHELL_MEMORY_ACCESS_SUPPORT)
   284 	if (iForce)
   283 	if (iForce)
   288 			{
   287 			{
   289 			type = EInt;
   288 			type = EInt;
   290 			}
   289 			}
   291 		else
   290 		else
   292 			{
   291 			{
       
   292 			TInt reallen = 0;
   293 			err = iMemAccess.GetProperty(cat, aKey, valDes, reallen);
   293 			err = iMemAccess.GetProperty(cat, aKey, valDes, reallen);
   294 			type = EDes;
   294 			type = EDes;
   295 			}
   295 			}
   296 		}
   296 		}
   297 	else
   297 	else