idlehomescreen/inc/xncontroladapter.h
branchRCL_3
changeset 9 f966699dea19
parent 0 f72a12da539e
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
   418 
   418 
   419     /**
   419     /**
   420      * Remove all child adapters
   420      * Remove all child adapters
   421      */
   421      */
   422     void RemoveChildAdapters();
   422     void RemoveChildAdapters();
       
   423     
       
   424     /**
       
   425      * Set Longtap delays 
       
   426      */
       
   427     void SetLongTapDelays( const TInt aStartDelay, const TInt aLongTapDelay );
   423 
   428 
   424     /**
   429     /**
   425      * Get child adapter list i.e which are not window owning controls
   430      * Get child adapter list i.e which are not window owning controls
   426      */
   431      */
   427     RPointerArray< CXnControlAdapter >& ChildAdapters();
   432     RPointerArray< CXnControlAdapter >& ChildAdapters();
   428 
   433 
   429     /**
   434     /**
   430      * Determines wheter control refuses focus loss
   435      * Determines wheter control refuses focus loss
   431      */            
   436      */            
   432     virtual TBool RefusesFocusLoss() const { return EFalse; };
   437     virtual TBool RefusesFocusLoss() const { return EFalse; };
       
   438     
       
   439     /**
       
   440      * Routes the data stream for the external rendering plugin.
       
   441      *
       
   442      * @since Series 60 5.2
       
   443      * @param aData Data stream.
       
   444      * @param aType Type of the stream.
       
   445      * @param aIndex Index of the data.
       
   446      */
       
   447     IMPORT_C virtual void SetDataL( const TDesC8& aData, const TDesC& aType, TInt aIndex );
   433         
   448         
   434 private:
   449 private:
   435     // Data
   450     // Data
   436 
   451 
   437     /**
   452     /**
   443     /**
   458     /**
   444      * Avkon long tap detector implementation.
   459      * Avkon long tap detector implementation.
   445      * Own.
   460      * Own.
   446      */
   461      */
   447     CAknLongTapDetector* iLongTapDetector;
   462     CAknLongTapDetector* iLongTapDetector;
       
   463     
       
   464     /**
       
   465       * Long tap delay
       
   466       */
       
   467     TInt iCurrentLongTapTimeDelay;
       
   468     
       
   469     /**
       
   470       * Start Long tap delay 
       
   471       */
       
   472     TInt iCurrentLongTapStartDelay;
   448     };
   473     };
   449 
   474 
   450 // Inline functions
   475 // Inline functions
   451 #include "xncontroladapter.inl"
   476 #include "xncontroladapter.inl"
   452 
   477