pimappservices/calendar/client/src/calcommonimpl.cpp
changeset 18 c198609911f9
parent 0 f979ecb2b13e
child 66 bd7edf625bdd
equal deleted inserted replaced
0:f979ecb2b13e 18:c198609911f9
   183 */
   183 */
   184 EXPORT_C TUint CalCommon::TCalPriorityRange::HighestPriority() const
   184 EXPORT_C TUint CalCommon::TCalPriorityRange::HighestPriority() const
   185 	{
   185 	{
   186 	return iHighestPriority;
   186 	return iHighestPriority;
   187 	}
   187 	}
       
   188 
       
   189 /** Creates a default favourite filter. This filter will accept any value of
       
   190 the favourite
       
   191 
       
   192 @publishedAll
       
   193 @released
       
   194 */
       
   195 EXPORT_C CalCommon::TCalFavouriteFilter::TCalFavouriteFilter()
       
   196 	: iValue(0), iMask(0)
       
   197 	{
       
   198 	}
       
   199 
       
   200 /** Creates a user integer filter.
       
   201 
       
   202 @param aValue The bit values that the bits of the user integer must match.
       
   203 @param aMask A mask indicating which bits must be taken into account 
       
   204 when doing the user integer filtering.
       
   205 @publishedAll
       
   206 @released
       
   207 */
       
   208 EXPORT_C CalCommon::TCalFavouriteFilter::TCalFavouriteFilter(TUint32 aValue,
       
   209 		TUint32 aMask)
       
   210 	: iValue(aValue), iMask(aMask)
       
   211 	{
       
   212 	}
       
   213 
       
   214 /** Returns the bit values that the bits of the user integer must match.
       
   215 
       
   216 @return The bit values that the bits of the user integer must match.
       
   217 @publishedAll
       
   218 @released
       
   219 */
       
   220 EXPORT_C TUint32 CalCommon::TCalFavouriteFilter::Value() const
       
   221 	{
       
   222 	return iValue;
       
   223 	}
       
   224 
       
   225 /** Returns a mask indicating which bits must be taken into account when 
       
   226 doing the user integer filtering.
       
   227 
       
   228 @return A mask indicating which bits must be taken into account when doing 
       
   229  the user integer filtering.
       
   230 @publishedAll
       
   231 @released
       
   232 */
       
   233 EXPORT_C TUint32 CalCommon::TCalFavouriteFilter::Mask() const
       
   234 	{
       
   235 	return iMask;
       
   236 	}
       
   237