Back to project page C2Framework.
The source code is released under:
Apache License
If you think the Android project C2Framework listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package gaia.c2.content.sqlite; /*w w w .ja va 2 s.c om*/ import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import gaia.c2.content.C2ContentProvider; /** * Created by kmr on 4/21/14. */ public abstract class C2SQLiteHelper extends SQLiteOpenHelper { private C2ContentProvider c2ParentContentProvider; public C2SQLiteHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version) { super(context, name, factory, version); } public C2SQLiteHelper(C2ContentProvider parent, String name, int version) { super(parent.getContext(), name, null, version); this.c2ParentContentProvider = parent; } public final C2ContentProvider getParentContentProvider() { return c2ParentContentProvider; } }