From 0271341b07883ff7964078bd9e8cb9d55b2ba68e Mon Sep 17 00:00:00 2001 From: Tim Su Date: Wed, 3 Nov 2010 15:20:49 -0700 Subject: [PATCH] moved search filter to astridApi project --- .../com/todoroo/astrid/core/SearchFilter.java | 73 ------------------- 1 file changed, 73 deletions(-) delete mode 100644 astrid/plugin-src/com/todoroo/astrid/core/SearchFilter.java diff --git a/astrid/plugin-src/com/todoroo/astrid/core/SearchFilter.java b/astrid/plugin-src/com/todoroo/astrid/core/SearchFilter.java deleted file mode 100644 index 9b3440edb..000000000 --- a/astrid/plugin-src/com/todoroo/astrid/core/SearchFilter.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.todoroo.astrid.core; - -import android.os.Parcel; -import android.os.Parcelable; - -import com.todoroo.astrid.api.FilterListItem; - -/** - * Special filter that triggers the search functionality when accessed. - * - * @author Tim Su - * - */ -public class SearchFilter extends FilterListItem { - - /** - * Constructor for creating a new SearchFilter - * - * @param listingTitle - * Title of this item as displayed on the lists page, e.g. Inbox - */ - public SearchFilter(String listingTitle) { - this.listingTitle = listingTitle; - } - - /** - * Constructor for creating a new SearchFilter - */ - protected SearchFilter() { - // - } - - // --- parcelable - - /** - * {@inheritDoc} - */ - public int describeContents() { - return 0; - } - - /** - * {@inheritDoc} - */ - @Override - public void writeToParcel(Parcel dest, int flags) { - super.writeToParcel(dest, flags); - } - - /** - * Parcelable creator - */ - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { - - /** - * {@inheritDoc} - */ - public SearchFilter createFromParcel(Parcel source) { - SearchFilter item = new SearchFilter(); - item.readFromParcel(source); - return item; - } - - /** - * {@inheritDoc} - */ - public SearchFilter[] newArray(int size) { - return new SearchFilter[size]; - } - - }; - -}