mclfsortingstyle.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : MCLFSortingStyle.h
00004 *  Part of     : Content Listing Framework
00005 *  Interface   : SDK, Content Listing Framework API
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright © 2002-2004 Nokia. All rights reserved.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia. All rights are reserved. Copying, including
00013 *  reproducing, storing, adapting or translating, any
00014 *  or all of this material requires the prior written consent of
00015 *  Nokia. This material also contains confidential
00016 *  information which may not be disclosed to others without the
00017 *  prior written consent of Nokia.
00018 * ==============================================================================
00019 */
00020 
00021 
00022 #ifndef MCLFSORTINGSTYLE_H
00023 #define MCLFSORTINGSTYLE_H
00024 
00025 //  INCLUDES
00026 #include <CLFContentListing.hrh>
00027 #include <CLFContentListing.h>
00028 #include <e32std.h>
00029 
00030 // FORWARD DECLARATIONS
00031 class MCLFSortingStyleExt;
00032 
00033 // CLASS DECLARATION
00034 
00077 class MCLFSortingStyle
00078     {
00079     public:  // Destructor
00080 
00084         virtual ~MCLFSortingStyle() {}
00085 
00086     public: // New functions
00087 
00092         virtual void ResetL() = 0;
00093 
00100         virtual void SetOrdering( TCLFSortingStyleOrdering aOrdering ) = 0;
00101 
00107         virtual TCLFSortingStyleOrdering Ordering() const = 0;
00108 
00115         virtual void SetSortingDataType( TCLFItemDataType aDataType ) = 0;
00116 
00122         virtual TCLFItemDataType SortingDataType() const = 0;
00123 
00131         virtual void SetUndefinedItemPosition(
00132                     TCLFUndefinedItemPosition aUndefinedItemPosition ) = 0;
00133 
00139         virtual TCLFUndefinedItemPosition UndefinedItemPosition() const = 0;
00140 
00149         virtual void AddFieldL( TCLFFieldId aFieldId ) = 0;
00150 
00156         virtual void GetFieldsL( RArray<TCLFFieldId>& aArray ) const = 0;
00157 
00158     private: // Extension interface
00159 
00160         virtual MCLFSortingStyleExt* Extension() { return NULL; }
00161 
00162     };
00163 
00164 // MCLFSORTINGSTYLE_H
00165 #endif
00166 
00167 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top