mtpdataproviders/mtpimagedp/inc/cmtpimagedpnewpicturesnotifier.h
changeset 17 aabe5387f5ce
equal deleted inserted replaced
0:d0791faffa3f 17:aabe5387f5ce
       
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef CMTPIMAGEDPNEWPICTURENOTIFIER_H
       
    22 #define CMTPIMAGEDPNEWPICTURENOTIFIER_H
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 class CMTPImageDpNewPicturesNotifier : public CTimer
       
    27     {
       
    28 public:
       
    29 
       
    30     static CMTPImageDpNewPicturesNotifier* NewL(); 
       
    31     virtual ~CMTPImageDpNewPicturesNotifier();
       
    32     
       
    33     void SetNewPictures(TInt aValue);
       
    34     void IncreaseCount(TInt aValue);
       
    35     void DecreaseCount(TInt aValue);
       
    36     
       
    37 private: // From CTimer
       
    38 
       
    39     void RunL();
       
    40     
       
    41 private:
       
    42 
       
    43     CMTPImageDpNewPicturesNotifier();
       
    44     void ConstructL();
       
    45     
       
    46 private:
       
    47     TInt   iNewPictures;
       
    48     };
       
    49 
       
    50 #endif // CMTPIMAGEDPNEWPICTURENOTIFIER_H