inc/glxfilterproperties.h
branchRCL_3
changeset 59 8e5f6eea9c9f
equal deleted inserted replaced
57:ea65f74e6de4 59:8e5f6eea9c9f
       
     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 #ifndef T_GLXFILTERPROPERTIES_H
       
    21 #define T_GLXFILTERPROPERTIES_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <glxmediaid.h>
       
    25 #include <glxfiltergeneraldefs.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CMPXCollectionPath;
       
    29 
       
    30 // CONSTANTS
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 
       
    35 class TGlxFilterProperties 
       
    36 	{
       
    37 public:
       
    38 	inline TGlxFilterProperties () :
       
    39 				iSortOrder(EGlxFilterSortOrderNotUsed),
       
    40 				iSortDirection(EGlxFilterSortDirectionNotUsed),
       
    41 				iIncludeCameraAlbum(ETrue),
       
    42 				iMinCount(0),
       
    43 				iContainsItem(0),
       
    44 				iExcludeAnimation(EFalse),
       
    45 				iLastCaptureDate(EFalse),
       
    46 				iMaxCount(KMaxTUint),
       
    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 	TInt iMaxCount;
       
    67 	TSize iThumbnailLoadability;
       
    68 	CMPXCollectionPath* iPath; 
       
    69 	TGlxFilterItemType iItemType;
       
    70 	TBool iPromoteSystemItems;
       
    71 	TGlxFilterOrigin iOrigin;
       
    72 	const TDesC* iUri;
       
    73 	TTime iStartDate;
       
    74 	TTime iEndDate;
       
    75 	TBool iNoDRM;
       
    76 	};
       
    77 
       
    78 
       
    79 #endif // T_GLXFILTERPROPERTIES_H