summaryrefslogtreecommitdiffstats
path: root/js/dbusServices/screencast/main.js
blob: 7c71971fb85b19f281b3cb986a383d7231c2cb62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* exported main */

const {DBusService} = imports.dbusService;

function main() {
    const {ScreencastService} = imports.screencastService;
    if (!ScreencastService.canScreencast())
        return;

    const service = new DBusService(
        'org.gnome.Shell.Screencast',
        new ScreencastService());
    service.run();
}