inc/glxfilterproperties.h
changeset 23 74c9f037fd5d
child 36 6481344a6d67
equal deleted inserted replaced
5:f7f0874bfe7d 23:74c9f037fd5d
       
     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 				iThumbnailLoadability(0,0),
       
    47 				iPath(NULL),
       
    48 				iItemType(EGlxFilterVideoAndImages),
       
    49 				iPromoteSystemItems(EFalse),
       
    50 				iOrigin(EGlxFilterOriginNotUsed),
       
    51 				iUri(NULL),
       
    52 				iStartDate(0),
       
    53 				iEndDate(0),
       
    54 				iNoDRM(EFalse)
       
    55 				  {}
       
    56 
       
    57 public:
       
    58 	TGlxFilterSortOrder iSortOrder;
       
    59 	TGlxFilterSortDirection iSortDirection;
       
    60 	TBool iIncludeCameraAlbum;
       
    61 	TInt iMinCount;
       
    62 	TGlxMediaId iContainsItem;
       
    63 	TBool iExcludeAnimation;
       
    64 	TBool iLastCaptureDate;
       
    65 	TSize iThumbnailLoadability;
       
    66 	CMPXCollectionPath* iPath; 
       
    67 	TGlxFilterItemType iItemType;
       
    68 	TBool iPromoteSystemItems;
       
    69 	TGlxFilterOrigin iOrigin;
       
    70 	const TDesC* iUri;
       
    71 	TTime iStartDate;
       
    72 	TTime iEndDate;
       
    73 	TBool iNoDRM;
       
    74 	};
       
    75 
       
    76 
       
    77 #endif // T_GLXFILTERPROPERTIES_H