emailuis/uicomponents/inc/fstreevisualizerbase.h
branchRCL_3
changeset 22 d620048b4810
parent 12 4ce476e64c59
equal deleted inserted replaced
20:efd4f1afd43e 22:d620048b4810
   652     public:
   652     public:
   653         /**
   653         /**
   654          * Leave-safe constructor
   654          * Leave-safe constructor
   655          */
   655          */
   656         static CDragHandler* NewL(CFsTreeVisualizerBase& aTree, const TInt aHighlightTimeout,
   656         static CDragHandler* NewL(CFsTreeVisualizerBase& aTree, const TInt aHighlightTimeout,
   657                 const TBitFlagsT<TUint>& aFlags );
   657                 const TBitFlags& aFlags );
   658 
   658 
   659         /**
   659         /**
   660          * Destructor
   660          * Destructor
   661          */
   661          */
   662         ~CDragHandler();
   662         ~CDragHandler();
   709     private:
   709     private:
   710 
   710 
   711         /**
   711         /**
   712          * Private constructor
   712          * Private constructor
   713          */
   713          */
   714         CDragHandler(CFsTreeVisualizerBase& aTree, const TInt aHighlightTimeout, const TBitFlagsT<TUint>& aFlags);
   714         CDragHandler(CFsTreeVisualizerBase& aTree, const TInt aHighlightTimeout, const TBitFlags& aFlags);
   715 
   715 
   716         /**
   716         /**
   717          * Leave safe construct.
   717          * Leave safe construct.
   718          */
   718          */
   719         void ConstructL();
   719         void ConstructL();
   724         static TInt HighlightTimerCallback(TAny* aPtr);
   724         static TInt HighlightTimerCallback(TAny* aPtr);
   725 
   725 
   726     private:
   726     private:
   727 
   727 
   728         CFsTreeVisualizerBase& iTree;
   728         CFsTreeVisualizerBase& iTree;
   729         TBitFlagsT<TUint> iFlags;
   729         TBitFlags iFlags;
   730         TTimeIntervalMicroSeconds32 iHighlightTimeout;
   730         TTimeIntervalMicroSeconds32 iHighlightTimeout;
   731         CPeriodic* iHighlightTimer;
   731         CPeriodic* iHighlightTimer;
   732         TTime iStartTime;
   732         TTime iStartTime;
   733         TPoint iPosition;
   733         TPoint iPosition;
   734         TPoint iLastPointerPosition;
   734         TPoint iLastPointerPosition;
   735         TPoint iDrag;
   735         TPoint iDrag;
   736         TFsTreeItemId iItemId;
   736         TFsTreeItemId iItemId;
   737         const TBitFlagsT<TUint>& iTreeVisualizerFlags;
   737         const TBitFlags& iTreeVisualizerFlags;
   738         TDragDirection iDragDirection;
   738         TDragDirection iDragDirection;
   739         };
   739         };
   740 
   740 
   741 
   741 
   742 public:
   742 public:
  2356         EIgnorePointerUpAction,
  2356         EIgnorePointerUpAction,
  2357 
  2357 
  2358 		/**
  2358 		/**
  2359 		 * List is shown in popup mode.
  2359 		 * List is shown in popup mode.
  2360 		 */
  2360 		 */
  2361         EPopupMode
  2361         EPopupMode,
       
  2362         
       
  2363         /**
       
  2364          * Informs tactile feedback that item was added i.e. does not 
       
  2365          * play feedback.
       
  2366          */
       
  2367         EListModelUpdate,
       
  2368 
       
  2369         /**
       
  2370          * This flag is checked when trying to focus item. Focus is ignored 
       
  2371          * if list is being panned. 
       
  2372          */        
       
  2373         EListPanning
  2362     };
  2374     };
  2363 
  2375 
  2364     // Flags
  2376     // Flags
  2365     TBitFlagsT<TUint> iFlags;
  2377     TBitFlags iFlags;
  2366 
  2378 
  2367     // ETrue when the stylus/finger is currently pressed down
  2379     // ETrue when the stylus/finger is currently pressed down
  2368     TBool iTouchPressed;
  2380     TBool iTouchPressed;
  2369 
  2381 
  2370     // Keyboard flip state
  2382     // Keyboard flip state