diff -r 000000000000 -r 4e91876724a2 photosgallery/inc/glxfilterproperties.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/photosgallery/inc/glxfilterproperties.h Thu Dec 17 08:45:44 2009 +0200 @@ -0,0 +1,78 @@ +/* +* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Represents a set of filter properties +* +*/ + + + + +#ifndef T_GLXFILTERPROPERTIES_H +#define T_GLXFILTERPROPERTIES_H + +// INCLUDES +#include +#include + +// FORWARD DECLARATIONS +class CMPXCollectionPath; + +// CONSTANTS + +// CLASS DECLARATION + + +class TGlxFilterProperties + { +public: + inline TGlxFilterProperties () : + iSortOrder(EGlxFilterSortOrderNotUsed), + iSortDirection(EGlxFilterSortDirectionNotUsed), + iIncludeCameraAlbum(ETrue), + iMinCount(0), + iContainsItem(0), + iExcludeAnimation(EFalse), + iLastCaptureDate(EFalse), + iThumbnailLoadability(0,0), + iPath(NULL), + iItemType(EGlxFilterVideoAndImages), + iPromoteSystemItems(EFalse), + iOrigin(EGlxFilterOriginNotUsed), + iUri(NULL), + iStartDate(0), + iEndDate(0), + iNoDRM(EFalse) + {} + +public: + TGlxFilterSortOrder iSortOrder; + TGlxFilterSortDirection iSortDirection; + TBool iIncludeCameraAlbum; + TInt iMinCount; + TGlxMediaId iContainsItem; + TBool iExcludeAnimation; + TBool iLastCaptureDate; + TSize iThumbnailLoadability; + CMPXCollectionPath* iPath; + TGlxFilterItemType iItemType; + TBool iPromoteSystemItems; + TGlxFilterOrigin iOrigin; + const TDesC* iUri; + TTime iStartDate; + TTime iEndDate; + TBool iNoDRM; + }; + + +#endif // T_GLXFILTERPROPERTIES_H