Move "clapper_src" dir to "src"

The "clapper_src" directory name was unusual. This was done to make it work as a widget for other apps. Now that this functionality got removed it can be named simply "src" as recommended by guidelines.
This commit is contained in:
Rafał Dzięgiel
2021-01-21 14:19:04 +01:00
parent 79abc661bc
commit 340cb36ecd
32 changed files with 65 additions and 65 deletions

21
src/playerRemote.js Normal file
View File

@@ -0,0 +1,21 @@
const { GObject } = imports.gi;
const { WebClient } = imports.src.webClient;
var PlayerRemote = GObject.registerClass(
class ClapperPlayerRemote extends GObject.Object
{
_init()
{
super._init();
this.webclient = new WebClient();
}
set_playlist(playlist)
{
this.webclient.sendMessage({
action: 'set_playlist',
value: playlist
});
}
});