contentstorage/cautils/inc/cainnerquery.h
author hgs
Mon, 18 Oct 2010 10:44:15 +0300
changeset 127 7b66bc3c6dc9
parent 99 7aaf39b772ac
permissions -rw-r--r--
201041
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
85
7feec50967db 201003_02
hgs
parents:
diff changeset
     1
/*
7feec50967db 201003_02
hgs
parents:
diff changeset
     2
 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
7feec50967db 201003_02
hgs
parents:
diff changeset
     3
 * All rights reserved.
7feec50967db 201003_02
hgs
parents:
diff changeset
     4
 * This component and the accompanying materials are made available
7feec50967db 201003_02
hgs
parents:
diff changeset
     5
 * under the terms of "Eclipse Public License v1.0"
7feec50967db 201003_02
hgs
parents:
diff changeset
     6
 * which accompanies this distribution, and is available
7feec50967db 201003_02
hgs
parents:
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
7feec50967db 201003_02
hgs
parents:
diff changeset
     8
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
     9
 * Initial Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    10
 * Nokia Corporation - initial contribution.
7feec50967db 201003_02
hgs
parents:
diff changeset
    11
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    12
 * Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    13
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    14
 * Description:  ?Description
7feec50967db 201003_02
hgs
parents:
diff changeset
    15
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    16
 */
7feec50967db 201003_02
hgs
parents:
diff changeset
    17
7feec50967db 201003_02
hgs
parents:
diff changeset
    18
#ifndef __CCAINNERQUERY_H__
7feec50967db 201003_02
hgs
parents:
diff changeset
    19
#define __CCAINNERQUERY_H__
7feec50967db 201003_02
hgs
parents:
diff changeset
    20
7feec50967db 201003_02
hgs
parents:
diff changeset
    21
#include <e32base.h>
88
hgs
parents: 85
diff changeset
    22
#include "caentryattribute.h"
85
7feec50967db 201003_02
hgs
parents:
diff changeset
    23
7feec50967db 201003_02
hgs
parents:
diff changeset
    24
//FORWARD DECLARATIONS
7feec50967db 201003_02
hgs
parents:
diff changeset
    25
class CDesC16ArrayFlat;
7feec50967db 201003_02
hgs
parents:
diff changeset
    26
class RWriteStream;
7feec50967db 201003_02
hgs
parents:
diff changeset
    27
class RReadStream;
7feec50967db 201003_02
hgs
parents:
diff changeset
    28
7feec50967db 201003_02
hgs
parents:
diff changeset
    29
/**
7feec50967db 201003_02
hgs
parents:
diff changeset
    30
 * Class represents Content Arsenal query
7feec50967db 201003_02
hgs
parents:
diff changeset
    31
 */
7feec50967db 201003_02
hgs
parents:
diff changeset
    32
NONSHARABLE_CLASS( CCaInnerQuery ): public CBase
7feec50967db 201003_02
hgs
parents:
diff changeset
    33
    {
7feec50967db 201003_02
hgs
parents:
diff changeset
    34
7feec50967db 201003_02
hgs
parents:
diff changeset
    35
public:
7feec50967db 201003_02
hgs
parents:
diff changeset
    36
7feec50967db 201003_02
hgs
parents:
diff changeset
    37
    enum TSortAttribute
7feec50967db 201003_02
hgs
parents:
diff changeset
    38
        {
7feec50967db 201003_02
hgs
parents:
diff changeset
    39
        Name = 1,
7feec50967db 201003_02
hgs
parents:
diff changeset
    40
        NameDesc,
7feec50967db 201003_02
hgs
parents:
diff changeset
    41
        CreatedTimestamp,
7feec50967db 201003_02
hgs
parents:
diff changeset
    42
        CreatedTimestampDesc,
7feec50967db 201003_02
hgs
parents:
diff changeset
    43
        Default, // default - return items in custom order
7feec50967db 201003_02
hgs
parents:
diff changeset
    44
        DefaultDesc
7feec50967db 201003_02
hgs
parents:
diff changeset
    45
        };
7feec50967db 201003_02
hgs
parents:
diff changeset
    46
7feec50967db 201003_02
hgs
parents:
diff changeset
    47
    enum TEntryRole
7feec50967db 201003_02
hgs
parents:
diff changeset
    48
        {
7feec50967db 201003_02
hgs
parents:
diff changeset
    49
        Item = 0x1,
7feec50967db 201003_02
hgs
parents:
diff changeset
    50
        Group = 0x2
7feec50967db 201003_02
hgs
parents:
diff changeset
    51
        };
7feec50967db 201003_02
hgs
parents:
diff changeset
    52
7feec50967db 201003_02
hgs
parents:
diff changeset
    53
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
    54
     * Destructor.
7feec50967db 201003_02
hgs
parents:
diff changeset
    55
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    56
    virtual ~CCaInnerQuery();
7feec50967db 201003_02
hgs
parents:
diff changeset
    57
7feec50967db 201003_02
hgs
parents:
diff changeset
    58
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
    59
     * Two-phased constructor.
7feec50967db 201003_02
hgs
parents:
diff changeset
    60
     * @return The created object.
7feec50967db 201003_02
hgs
parents:
diff changeset
    61
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    62
    IMPORT_C static CCaInnerQuery* NewL();
7feec50967db 201003_02
hgs
parents:
diff changeset
    63
7feec50967db 201003_02
hgs
parents:
diff changeset
    64
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
    65
     * Two-phased constructor.
7feec50967db 201003_02
hgs
parents:
diff changeset
    66
     * @return The created object.
7feec50967db 201003_02
hgs
parents:
diff changeset
    67
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    68
    IMPORT_C static CCaInnerQuery* NewLC();
7feec50967db 201003_02
hgs
parents:
diff changeset
    69
7feec50967db 201003_02
hgs
parents:
diff changeset
    70
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
    71
     * Get query entry array ids. 
7feec50967db 201003_02
hgs
parents:
diff changeset
    72
     * @return Array od entries' ids to be queried.
7feec50967db 201003_02
hgs
parents:
diff changeset
    73
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    74
    IMPORT_C const RArray<TInt>& GetIds() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
    75
7feec50967db 201003_02
hgs
parents:
diff changeset
    76
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
    77
     * Sets the ids to be queried, entries to be fetched from storage.
7feec50967db 201003_02
hgs
parents:
diff changeset
    78
     * @param aArray The array of entries to be fetched.
7feec50967db 201003_02
hgs
parents:
diff changeset
    79
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    80
    IMPORT_C void SetIdsL( const RArray<TInt>& aArray );
7feec50967db 201003_02
hgs
parents:
diff changeset
    81
7feec50967db 201003_02
hgs
parents:
diff changeset
    82
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
    83
     * Returns the parent id set for the query.
7feec50967db 201003_02
hgs
parents:
diff changeset
    84
     * @return Id of entry's parent.
7feec50967db 201003_02
hgs
parents:
diff changeset
    85
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    86
    IMPORT_C TInt GetParentId() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
    87
7feec50967db 201003_02
hgs
parents:
diff changeset
    88
    /**
99
hgs
parents: 88
diff changeset
    89
     * Sets the parent id to be queried. This will cause returning only entries whose parent ids are aId.
85
7feec50967db 201003_02
hgs
parents:
diff changeset
    90
     * @param aId The parent id to be set for the query.
7feec50967db 201003_02
hgs
parents:
diff changeset
    91
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    92
    IMPORT_C void SetParentId( TInt aId );
7feec50967db 201003_02
hgs
parents:
diff changeset
    93
7feec50967db 201003_02
hgs
parents:
diff changeset
    94
    /**
99
hgs
parents: 88
diff changeset
    95
     * Returns the child id set for the query.
hgs
parents: 88
diff changeset
    96
     * @return Id of entry's child.
hgs
parents: 88
diff changeset
    97
     */
hgs
parents: 88
diff changeset
    98
    IMPORT_C TInt GetChildId() const;
hgs
parents: 88
diff changeset
    99
hgs
parents: 88
diff changeset
   100
    /**
hgs
parents: 88
diff changeset
   101
     * Sets the child id to be queried. This will cause returning parents of the entry with id aId
hgs
parents: 88
diff changeset
   102
     * @param aId The child id to be set for the query.
hgs
parents: 88
diff changeset
   103
     */
hgs
parents: 88
diff changeset
   104
    IMPORT_C void SetChildId( TInt aId );
hgs
parents: 88
diff changeset
   105
    
hgs
parents: 88
diff changeset
   106
    
hgs
parents: 88
diff changeset
   107
    /**
85
7feec50967db 201003_02
hgs
parents:
diff changeset
   108
     * Gets the typenames filter set in the query.
7feec50967db 201003_02
hgs
parents:
diff changeset
   109
     * @return Array of typenames set in this query. 
7feec50967db 201003_02
hgs
parents:
diff changeset
   110
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   111
    IMPORT_C const CDesC16ArrayFlat* GetEntryTypeNames() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
   112
7feec50967db 201003_02
hgs
parents:
diff changeset
   113
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   114
     * Sets the typename filter for the query. 
7feec50967db 201003_02
hgs
parents:
diff changeset
   115
     * @param aArray Sets the typename filter for the query.
7feec50967db 201003_02
hgs
parents:
diff changeset
   116
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   117
    IMPORT_C void SetEntryTypeNames( CDesC16ArrayFlat* aArray );
7feec50967db 201003_02
hgs
parents:
diff changeset
   118
7feec50967db 201003_02
hgs
parents:
diff changeset
   119
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   120
     * Reutrns the role of teh queried entries.
7feec50967db 201003_02
hgs
parents:
diff changeset
   121
     * @return Role filter.
7feec50967db 201003_02
hgs
parents:
diff changeset
   122
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   123
    IMPORT_C TInt GetRole() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
   124
7feec50967db 201003_02
hgs
parents:
diff changeset
   125
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   126
     * Sets the role filter for the query.
7feec50967db 201003_02
hgs
parents:
diff changeset
   127
     * @param The role of which type items should be fetched.
7feec50967db 201003_02
hgs
parents:
diff changeset
   128
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   129
    IMPORT_C void SetRole( TInt aRole );
7feec50967db 201003_02
hgs
parents:
diff changeset
   130
7feec50967db 201003_02
hgs
parents:
diff changeset
   131
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   132
     * Gets flags which are on.
7feec50967db 201003_02
hgs
parents:
diff changeset
   133
     * @return Flags which are on.
7feec50967db 201003_02
hgs
parents:
diff changeset
   134
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   135
    IMPORT_C TUint GetFlagsOn() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
   136
7feec50967db 201003_02
hgs
parents:
diff changeset
   137
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   138
     * Sets flags which are on (filter).
7feec50967db 201003_02
hgs
parents:
diff changeset
   139
     * @param aFlagsOn Flags which are on filter.
7feec50967db 201003_02
hgs
parents:
diff changeset
   140
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   141
    IMPORT_C void SetFlagsOn( TUint aFlagsOn );
7feec50967db 201003_02
hgs
parents:
diff changeset
   142
7feec50967db 201003_02
hgs
parents:
diff changeset
   143
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   144
     * Gets flags which are on filter.
7feec50967db 201003_02
hgs
parents:
diff changeset
   145
     * @return Filter of flags which are on.
7feec50967db 201003_02
hgs
parents:
diff changeset
   146
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   147
    IMPORT_C TUint GetFlagsOff() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
   148
7feec50967db 201003_02
hgs
parents:
diff changeset
   149
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   150
     * Sets flags which are off (filter).
7feec50967db 201003_02
hgs
parents:
diff changeset
   151
     * @param aFlagsOff Flags which are off filter.
7feec50967db 201003_02
hgs
parents:
diff changeset
   152
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   153
    IMPORT_C void SetFlagsOff( TUint aFlagsOff );
7feec50967db 201003_02
hgs
parents:
diff changeset
   154
7feec50967db 201003_02
hgs
parents:
diff changeset
   155
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   156
     * The uid filter of the entry to be fetched.
7feec50967db 201003_02
hgs
parents:
diff changeset
   157
     * @return Uid of entry to be fetched.
7feec50967db 201003_02
hgs
parents:
diff changeset
   158
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   159
    IMPORT_C TUint GetUid() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
   160
7feec50967db 201003_02
hgs
parents:
diff changeset
   161
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   162
     * Sets the uid filter.
7feec50967db 201003_02
hgs
parents:
diff changeset
   163
     * @param aUid Uid filter. Items will be fetched with only the specific uid.
7feec50967db 201003_02
hgs
parents:
diff changeset
   164
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   165
    IMPORT_C void SetUid( TUint aUid );
7feec50967db 201003_02
hgs
parents:
diff changeset
   166
7feec50967db 201003_02
hgs
parents:
diff changeset
   167
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   168
     * Specifies the order type in which queried entiries are returned. 
7feec50967db 201003_02
hgs
parents:
diff changeset
   169
     * @return The sort type of the query.
7feec50967db 201003_02
hgs
parents:
diff changeset
   170
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   171
    IMPORT_C CCaInnerQuery::TSortAttribute GetSort() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
   172
7feec50967db 201003_02
hgs
parents:
diff changeset
   173
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   174
     * Sets the sort order to in which items will be returned.
7feec50967db 201003_02
hgs
parents:
diff changeset
   175
     * @param aSort The sort order to in which items will be returned.
7feec50967db 201003_02
hgs
parents:
diff changeset
   176
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   177
    IMPORT_C void SetSort( CCaInnerQuery::TSortAttribute aSort );
7feec50967db 201003_02
hgs
parents:
diff changeset
   178
7feec50967db 201003_02
hgs
parents:
diff changeset
   179
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   180
     * Externalizes to stream.
7feec50967db 201003_02
hgs
parents:
diff changeset
   181
     * @param aStream Stream to which CCaInnerQuery is externalized.
7feec50967db 201003_02
hgs
parents:
diff changeset
   182
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   183
    IMPORT_C void ExternalizeL( RWriteStream& aStream ) const;
7feec50967db 201003_02
hgs
parents:
diff changeset
   184
7feec50967db 201003_02
hgs
parents:
diff changeset
   185
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   186
     * Internalizes from stream.
7feec50967db 201003_02
hgs
parents:
diff changeset
   187
     * @param aStream Stream from which CCaInnerQuery is internalized.
7feec50967db 201003_02
hgs
parents:
diff changeset
   188
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   189
    IMPORT_C void InternalizeL( RReadStream& aStream );
7feec50967db 201003_02
hgs
parents:
diff changeset
   190
7feec50967db 201003_02
hgs
parents:
diff changeset
   191
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   192
     * Sets the maximum amount of entries to be fetched.
7feec50967db 201003_02
hgs
parents:
diff changeset
   193
     * @param aCount The number of entries to be fetched.
7feec50967db 201003_02
hgs
parents:
diff changeset
   194
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   195
    IMPORT_C void SetCount( TUint aCount );
7feec50967db 201003_02
hgs
parents:
diff changeset
   196
7feec50967db 201003_02
hgs
parents:
diff changeset
   197
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   198
     * Gets the maximum amount of entries to be fetched.
7feec50967db 201003_02
hgs
parents:
diff changeset
   199
     * @return The maximum amount of entries to be fetched.
7feec50967db 201003_02
hgs
parents:
diff changeset
   200
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   201
    IMPORT_C TUint GetCount() const;
88
hgs
parents: 85
diff changeset
   202
    
hgs
parents: 85
diff changeset
   203
    /**
hgs
parents: 85
diff changeset
   204
      * Adds attribute to query.
hgs
parents: 85
diff changeset
   205
      * @param aKey Attribute key.
hgs
parents: 85
diff changeset
   206
      * @param aValue Attribute value.
hgs
parents: 85
diff changeset
   207
      */
hgs
parents: 85
diff changeset
   208
     IMPORT_C void AddAttributeL( const TDesC& aKey, const TDesC& aValue );
hgs
parents: 85
diff changeset
   209
     
hgs
parents: 85
diff changeset
   210
     /**
hgs
parents: 85
diff changeset
   211
       * Get attributes array
hgs
parents: 85
diff changeset
   212
       * @return attributes array
hgs
parents: 85
diff changeset
   213
       */
hgs
parents: 85
diff changeset
   214
     IMPORT_C const RCaEntryAttrArray& GetAttributes() const;
hgs
parents: 85
diff changeset
   215
85
7feec50967db 201003_02
hgs
parents:
diff changeset
   216
7feec50967db 201003_02
hgs
parents:
diff changeset
   217
private:
7feec50967db 201003_02
hgs
parents:
diff changeset
   218
7feec50967db 201003_02
hgs
parents:
diff changeset
   219
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   220
     * Second phased constructor.
7feec50967db 201003_02
hgs
parents:
diff changeset
   221
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   222
    void ConstructL();
7feec50967db 201003_02
hgs
parents:
diff changeset
   223
7feec50967db 201003_02
hgs
parents:
diff changeset
   224
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
   225
     * Constructor
7feec50967db 201003_02
hgs
parents:
diff changeset
   226
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   227
    CCaInnerQuery();
7feec50967db 201003_02
hgs
parents:
diff changeset
   228
7feec50967db 201003_02
hgs
parents:
diff changeset
   229
private:
7feec50967db 201003_02
hgs
parents:
diff changeset
   230
    // data
7feec50967db 201003_02
hgs
parents:
diff changeset
   231
7feec50967db 201003_02
hgs
parents:
diff changeset
   232
    /*
7feec50967db 201003_02
hgs
parents:
diff changeset
   233
     * Unique identifier of entries. Own
7feec50967db 201003_02
hgs
parents:
diff changeset
   234
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   235
    RArray<TInt> iIds;
7feec50967db 201003_02
hgs
parents:
diff changeset
   236
7feec50967db 201003_02
hgs
parents:
diff changeset
   237
    /*
7feec50967db 201003_02
hgs
parents:
diff changeset
   238
     * Unique identifier of the parent.
7feec50967db 201003_02
hgs
parents:
diff changeset
   239
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   240
    TInt iParentId;
7feec50967db 201003_02
hgs
parents:
diff changeset
   241
7feec50967db 201003_02
hgs
parents:
diff changeset
   242
    /*
99
hgs
parents: 88
diff changeset
   243
     * Unique identifier of the child entry.
hgs
parents: 88
diff changeset
   244
     */
hgs
parents: 88
diff changeset
   245
    TInt iChildId;
hgs
parents: 88
diff changeset
   246
hgs
parents: 88
diff changeset
   247
    /*
85
7feec50967db 201003_02
hgs
parents:
diff changeset
   248
     * Own.
7feec50967db 201003_02
hgs
parents:
diff changeset
   249
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   250
    CDesC16ArrayFlat* iEntryTypeNames;
7feec50967db 201003_02
hgs
parents:
diff changeset
   251
7feec50967db 201003_02
hgs
parents:
diff changeset
   252
    /*
7feec50967db 201003_02
hgs
parents:
diff changeset
   253
     * Entry types.
7feec50967db 201003_02
hgs
parents:
diff changeset
   254
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   255
    TInt iRole;
7feec50967db 201003_02
hgs
parents:
diff changeset
   256
7feec50967db 201003_02
hgs
parents:
diff changeset
   257
    /*
7feec50967db 201003_02
hgs
parents:
diff changeset
   258
     * Flags on.
7feec50967db 201003_02
hgs
parents:
diff changeset
   259
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   260
    TUint iFlagsOn;
7feec50967db 201003_02
hgs
parents:
diff changeset
   261
7feec50967db 201003_02
hgs
parents:
diff changeset
   262
    /*
7feec50967db 201003_02
hgs
parents:
diff changeset
   263
     * Flags off.
7feec50967db 201003_02
hgs
parents:
diff changeset
   264
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   265
    TUint iFlagsOff;
7feec50967db 201003_02
hgs
parents:
diff changeset
   266
7feec50967db 201003_02
hgs
parents:
diff changeset
   267
    /*
7feec50967db 201003_02
hgs
parents:
diff changeset
   268
     * Uid.
7feec50967db 201003_02
hgs
parents:
diff changeset
   269
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   270
    TUint iUid;
7feec50967db 201003_02
hgs
parents:
diff changeset
   271
7feec50967db 201003_02
hgs
parents:
diff changeset
   272
    /*
7feec50967db 201003_02
hgs
parents:
diff changeset
   273
     * Sorting option.
7feec50967db 201003_02
hgs
parents:
diff changeset
   274
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   275
    TUint iSort;
7feec50967db 201003_02
hgs
parents:
diff changeset
   276
7feec50967db 201003_02
hgs
parents:
diff changeset
   277
    /*
7feec50967db 201003_02
hgs
parents:
diff changeset
   278
     * Number of entries to fetch
7feec50967db 201003_02
hgs
parents:
diff changeset
   279
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
   280
    TUint iCount;
88
hgs
parents: 85
diff changeset
   281
    
hgs
parents: 85
diff changeset
   282
    /*
hgs
parents: 85
diff changeset
   283
     * Attributes array. Own
hgs
parents: 85
diff changeset
   284
     */
hgs
parents: 85
diff changeset
   285
    RCaEntryAttrArray iAttributes;
85
7feec50967db 201003_02
hgs
parents:
diff changeset
   286
7feec50967db 201003_02
hgs
parents:
diff changeset
   287
    };
7feec50967db 201003_02
hgs
parents:
diff changeset
   288
7feec50967db 201003_02
hgs
parents:
diff changeset
   289
#endif // __CCAQUERY_H__