Added E_BOOK_INDEX_SORT_KEY to EBookIndexType
authorTristan Van Berkom <tristanvb@openismus.com>
Wed, 20 Nov 2013 07:15:55 +0000 (16:15 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Fri, 29 Nov 2013 13:08:02 +0000 (22:08 +0900)
addressbook/libebook-contacts/e-book-contacts-types.h

index 01a6dfa..ca6b952 100644 (file)
@@ -123,16 +123,18 @@ typedef struct {
  * @E_BOOK_INDEX_PREFIX: An index suitable for searching contacts with a prefix pattern
  * @E_BOOK_INDEX_SUFFIX: An index suitable for searching contacts with a suffix pattern
  * @E_BOOK_INDEX_PHONE: An index suitable for searching contacts for phone numbers.
- * <note><para>that phone numbers must be convertible into FQTN according to E.164 to be
+ * <note><para>Phone numbers must be convertible into FQTN according to E.164 to be
  * stored in this index. The number "+9999999" for instance won't be stored because
  * the country calling code "+999" currently is not assigned.</para></note>
+ * @E_BOOK_INDEX_SORT_KEY: Indicates that a given #EContactField should be usable as a sort key.
  *
  * The type of index defined by e_source_backend_summary_setup_set_indexed_fields()
  */
 typedef enum {
        E_BOOK_INDEX_PREFIX = 0,
        E_BOOK_INDEX_SUFFIX,
-       E_BOOK_INDEX_PHONE
+       E_BOOK_INDEX_PHONE,
+       E_BOOK_INDEX_SORT_KEY
 } EBookIndexType;
 
 /**