inc/glxfilterproperties.h
changeset 23 74c9f037fd5d
child 36 6481344a6d67
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/glxfilterproperties.h	Fri Mar 19 09:28:59 2010 +0200
@@ -0,0 +1,77 @@
+/*
+* 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 <glxmediaid.h>
+#include <glxfiltergeneraldefs.h>
+
+// 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