1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 function Transmitter( aClient
) {
11 var mClient
= aClient
;
13 this.nextTransition = function() {
14 mClient
.sendMessage( "transition_next\n\n" );
17 this.previousTransition = function() {
18 mClient
.sendMessage( "transition_previous\n\n" );
21 this.gotoSlide = function( aSlide
) {
22 mClient
.sendMessage( "goto_slide\n" + aSlide
+ "\n\n" );
25 this.blankScreen = function() {
26 mClient
.sendMessage( "presentation_blank_screen\n\n" );
29 this.blankScreen = function( aColor
) {
30 mClient
.sendMessage( "presentation_blank_screen\n" + aColor
+ "\n\n" );
33 this.resume = function() {
34 mClient
.sendMessage( "presentation_resume\n\n" );
37 this.startPresentation = function() {
38 mClient
.sendMessage( "presentation_start\n\n" );
41 this.stopPresentation = function() {
42 mClient
.sendMessage( "presentation_stop\n\n" );
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */