Home | History | Annotate | Download | only in provider
      1 /*
      2  * Copyright (C) 2011 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 
     18 package com.android.emailcommon.provider;
     19 
     20 import android.net.Uri;
     21 
     22 import com.android.emailcommon.provider.EmailContent.QuickResponseColumns;
     23 
     24 /**
     25  * A user-modifiable message that may be quickly inserted into the body while user is composing
     26  * a message. Tied to a specific account.
     27  */
     28 public abstract class QuickResponse extends EmailContent
     29         implements QuickResponseColumns {
     30     public static final String TABLE_NAME = "QuickResponse";
     31     public static Uri CONTENT_URI;
     32     public static Uri ACCOUNT_ID_URI;
     33 
     34     public static void initQuickResponse() {
     35         CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse");
     36         ACCOUNT_ID_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse/account");
     37     }
     38 }