Home | History | Annotate | Download | only in terminal
      1 /*
      2  * Copyright (C) 2013 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 package com.android.terminal;
     18 
     19 public abstract class TerminalCallbacks {
     20     public int damage(int startRow, int endRow, int startCol, int endCol) {
     21         return 1;
     22     }
     23 
     24     public int moveRect(int destStartRow, int destEndRow, int destStartCol, int destEndCol,
     25             int srcStartRow, int srcEndRow, int srcStartCol, int srcEndCol) {
     26         return 1;
     27     }
     28 
     29     public int moveCursor(int posRow, int posCol, int oldPosRow, int oldPosCol, int visible) {
     30         return 1;
     31     }
     32 
     33     public int setTermPropBoolean(int prop, boolean value) {
     34         return 1;
     35     }
     36 
     37     public int setTermPropInt(int prop, int value) {
     38         return 1;
     39     }
     40 
     41     public int setTermPropString(int prop, String value) {
     42         return 1;
     43     }
     44 
     45     public int setTermPropColor(int prop, int red, int green, int blue) {
     46         return 1;
     47     }
     48 
     49     public int bell() {
     50         return 1;
     51     }
     52 }
     53