137b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka/* 237b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka * Copyright (C) 2012 The Android Open Source Project 337b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka * 48aa9963a895f9dd5bb1bc92ab2e4f461e058f87aTadashi G. Takaoka * Licensed under the Apache License, Version 2.0 (the "License"); 58aa9963a895f9dd5bb1bc92ab2e4f461e058f87aTadashi G. Takaoka * you may not use this file except in compliance with the License. 68aa9963a895f9dd5bb1bc92ab2e4f461e058f87aTadashi G. Takaoka * You may obtain a copy of the License at 737b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka * 88aa9963a895f9dd5bb1bc92ab2e4f461e058f87aTadashi G. Takaoka * http://www.apache.org/licenses/LICENSE-2.0 937b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka * 1037b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka * Unless required by applicable law or agreed to in writing, software 118aa9963a895f9dd5bb1bc92ab2e4f461e058f87aTadashi G. Takaoka * distributed under the License is distributed on an "AS IS" BASIS, 128aa9963a895f9dd5bb1bc92ab2e4f461e058f87aTadashi G. Takaoka * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 138aa9963a895f9dd5bb1bc92ab2e4f461e058f87aTadashi G. Takaoka * See the License for the specific language governing permissions and 148aa9963a895f9dd5bb1bc92ab2e4f461e058f87aTadashi G. Takaoka * limitations under the License. 1537b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka */ 1637b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka 1737b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataokapackage com.android.inputmethod.latin.spellcheck; 1837b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka 1937b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataokaimport android.service.textservice.SpellCheckerService.Session; 2037b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka 2137b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataokapublic abstract class AndroidSpellCheckerSessionFactory { 2237b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka public static Session newInstance(AndroidSpellCheckerService service) { 2337b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka return new AndroidSpellCheckerSession(service); 2437b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka } 2537b19ffe6c9d8335cc0e1c1c50f5b08c778b287cSatoshi Kataoka} 26