mirror of
https://github.com/memen45/SubMusic.git
synced 2026-02-19 07:50:58 +01:00
22 lines
386 B
MonkeyC
22 lines
386 B
MonkeyC
using SubMusic.Storage;
|
|
|
|
module PlaylistStore {
|
|
var d_store = new ObjectStore(Storage.PLAYLISTS);
|
|
|
|
function get(id) {
|
|
return d_store.get(id);
|
|
}
|
|
|
|
function getIds() {
|
|
return d_store.getIds();
|
|
}
|
|
|
|
function save(playlist) {
|
|
return d_store.save(playlist);
|
|
}
|
|
|
|
function remove(playlist) {
|
|
return d_store.remove(playlist);
|
|
}
|
|
}
|