PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/v3.2/nimbits-android/src/com/nimbits/android/database/DatabaseHelper.java

http://nimbits-server.googlecode.com/
Java | 29 lines | 7 code | 4 blank | 18 comment | 0 complexity | ecfdb405af95b7e91dbe6e49111c879f MD5 | raw file
 1/*
 2 * Copyright (c) 2010 Tonic Solutions LLC.
 3 *
 4 * http://www.nimbits.com
 5 *
 6 *
 7 * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
 8 *
 9 * http://www.gnu.org/licenses/gpl.html
10 *
11 * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
12 */
13
14package com.nimbits.android.database;
15
16import android.database.sqlite.SQLiteDatabase;
17
18/**
19 * Created by bsautner
20 * User: benjamin
21 * Date: 7/6/11
22 * Time: 11:15 AM
23 */
24public interface DatabaseHelper {
25    boolean checkDatabase();
26    boolean isDatabaseEmpty();
27      SQLiteDatabase getDB(boolean writable);
28
29}