photosgallery/inc/glxfilterproperties.h
changeset 0 4e91876724a2
child 18 bcb43dc84c44
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Represents a set of filter properties
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef T_GLXFILTERPROPERTIES_H
       
    22 #define T_GLXFILTERPROPERTIES_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <glxmediaid.h>
       
    26 #include <glxfiltergeneraldefs.h>
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CMPXCollectionPath;
       
    30 
       
    31 // CONSTANTS
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 
       
    36 class TGlxFilterProperties 
       
    37 	{
       
    38 public:
       
    39 	inline TGlxFilterProperties () :
       
    40 				iSortOrder(EGlxFilterSortOrderNotUsed),
       
    41 				iSortDirection(EGlxFilterSortDirectionNotUsed),
       
    42 				iIncludeCameraAlbum(ETrue),
       
    43 				iMinCount(0),
       
    44 				iContainsItem(0),
       
    45 				iExcludeAnimation(EFalse),
       
    46 				iLastCaptureDate(EFalse),
       
    47 				iThumbnailLoadability(0,0),
       
    48 				iPath(NULL),
       
    49 				iItemType(EGlxFilterVideoAndImages),
       
    50 				iPromoteSystemItems(EFalse),
       
    51 				iOrigin(EGlxFilterOriginNotUsed),
       
    52 				iUri(NULL),
       
    53 				iStartDate(0),
       
    54 				iEndDate(0),
       
    55 				iNoDRM(EFalse)
       
    56 				  {}
       
    57 
       
    58 public:
       
    59 	TGlxFilterSortOrder iSortOrder;
       
    60 	TGlxFilterSortDirection iSortDirection;
       
    61 	TBool iIncludeCameraAlbum;
       
    62 	TInt iMinCount;
       
    63 	TGlxMediaId iContainsItem;
       
    64 	TBool iExcludeAnimation;
       
    65 	TBool iLastCaptureDate;
       
    66 	TSize iThumbnailLoadability;
       
    67 	CMPXCollectionPath* iPath; 
       
    68 	TGlxFilterItemType iItemType;
       
    69 	TBool iPromoteSystemItems;
       
    70 	TGlxFilterOrigin iOrigin;
       
    71 	const TDesC* iUri;
       
    72 	TTime iStartDate;
       
    73 	TTime iEndDate;
       
    74 	TBool iNoDRM;
       
    75 	};
       
    76 
       
    77 
       
    78 #endif // T_GLXFILTERPROPERTIES_H