From a3640e6f8775197d250b651e6e577fd8a8f3a4b9 Mon Sep 17 00:00:00 2001 From: Richard Alam Date: Wed, 30 Mar 2011 14:33:00 -0400 Subject: [PATCH] - add record status events in the client --- .../main/events/RecordStatusEvent.as | 18 +++++++++++++++ .../deskshare/events/RecordingStatusEvent.as | 22 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100755 bigbluebutton-client/src/org/bigbluebutton/main/events/RecordStatusEvent.as create mode 100755 bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/events/RecordingStatusEvent.as diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/events/RecordStatusEvent.as b/bigbluebutton-client/src/org/bigbluebutton/main/events/RecordStatusEvent.as new file mode 100755 index 0000000000..2bdfcc448b --- /dev/null +++ b/bigbluebutton-client/src/org/bigbluebutton/main/events/RecordStatusEvent.as @@ -0,0 +1,18 @@ +package org.bigbluebutton.main.events +{ + import flash.events.Event; + + public class RecordStatusEvent extends Event + { + public static const RECORD_STATUS_EVENT:String = "RECORD_STATUS_EVENT"; + + public var module:String; + public var status:String; + + public function RecordStatusEvent(bubbles:Boolean=true, cancelable:Boolean=false) + { + super(RECORD_STATUS_EVENT, bubbles, cancelable); + } + + } +} \ No newline at end of file diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/events/RecordingStatusEvent.as b/bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/events/RecordingStatusEvent.as new file mode 100755 index 0000000000..be58711ac9 --- /dev/null +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/events/RecordingStatusEvent.as @@ -0,0 +1,22 @@ +package org.bigbluebutton.modules.deskshare.events +{ + import flash.events.Event; + + public class RecordingStatusEvent extends Event + { + public static const DESKSHARE_RECORD_EVENT = "DESKSHARE_RECORD_EVENT"; + + public static const RECORD_STOPPED_EVENT = "DESKSHARE_RECORD_STOPPED_EVENT"; + public static const RECORD_STARTED_EVENT = "DESKSHARE_RECORD_STARTED_EVENT"; + public static const RECORD_UPDATED_EVENT = "DESKSHARE_RECORD_UPDATED_EVENT"; + public static const RECORD_ERROR_EVENT = "DESKSHARE_RECORD_ERROR_EVENT"; + + public var status:String; + + public function RecordingStatusEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false) + { + super(type, bubbles, cancelable); + } + + } +} \ No newline at end of file