001/*
002 * To change this license header, choose License Headers in Project Properties.
003 * To change this template file, choose Tools | Templates
004 * and open the template in the editor.
005 */
006package gwt.material.design.jscore.client.api.db;
007
008import gwt.material.design.jscore.client.api.JsObject;
009import jsinterop.annotations.JsType;
010
011/**
012 *
013 * @author Cristian Rinaldi
014 */
015@JsType(isNative = true)
016public class IDBFactory extends JsObject{
017
018    public native IDBOpenDBRequest open(String name, int version);
019
020    public native IDBOpenDBRequest deleteDatabase(String name);
021
022    public native int cmp(Object first, Object second);
023};