From 68e1b00b109938e97b9356d95e089870d9a858d3 Mon Sep 17 00:00:00 2001 From: Tim Su Date: Fri, 19 Nov 2010 19:52:24 -0800 Subject: [PATCH] Moved FWCI to astrid api --- .../astrid/api/FilterWithCustomIntent.java | 82 ------------------- 1 file changed, 82 deletions(-) delete mode 100644 astrid/src/com/todoroo/astrid/api/FilterWithCustomIntent.java diff --git a/astrid/src/com/todoroo/astrid/api/FilterWithCustomIntent.java b/astrid/src/com/todoroo/astrid/api/FilterWithCustomIntent.java deleted file mode 100644 index 4f5c3029b..000000000 --- a/astrid/src/com/todoroo/astrid/api/FilterWithCustomIntent.java +++ /dev/null @@ -1,82 +0,0 @@ -package com.todoroo.astrid.api; - -import android.content.ComponentName; -import android.content.ContentValues; -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; - -import com.todoroo.andlib.sql.QueryTemplate; - -public class FilterWithCustomIntent extends Filter { - - public ComponentName customTaskList = null; - public Bundle customExtras = null; - - protected FilterWithCustomIntent() { - super(); - } - - public FilterWithCustomIntent(String listingTitle, String title, - QueryTemplate sqlQuery, ContentValues valuesForNewTasks) { - super(listingTitle, title, sqlQuery, valuesForNewTasks); - } - - public FilterWithCustomIntent(String listingTitle, String title, - String sqlQuery, ContentValues valuesForNewTasks) { - super(listingTitle, title, sqlQuery, valuesForNewTasks); - } - - - // --- parcelable - - /** - * {@inheritDoc} - */ - @Override - public int describeContents() { - return 0; - } - - /** - * {@inheritDoc} - */ - @Override - public void writeToParcel(Parcel dest, int flags) { - super.writeToParcel(dest, flags); - dest.writeParcelable(customTaskList, 0); - dest.writeParcelable(customExtras, 0); - } - - @Override - public void readFromParcel(Parcel source) { - super.readFromParcel(source); - customTaskList = source.readParcelable(ComponentName.class.getClassLoader()); - customExtras = source.readParcelable(Bundle.class.getClassLoader()); - } - - /** - * Parcelable Creator Object - */ - @SuppressWarnings("hiding") - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { - - /** - * {@inheritDoc} - */ - public FilterWithCustomIntent createFromParcel(Parcel source) { - FilterWithCustomIntent item = new FilterWithCustomIntent(); - item.readFromParcel(source); - return item; - } - - /** - * {@inheritDoc} - */ - public FilterWithCustomIntent[] newArray(int size) { - return new FilterWithCustomIntent[size]; - } - - }; - -}