00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00031 #include "nsISupports.idl"
00032
00033 interface sbIMediaItem;
00034 interface sbIMediaList;
00035
00043 [scriptable, uuid(7b2026c4-9193-4cbd-818a-0d07abaec854)]
00044 interface sbIDeviceStatus: nsISupports {
00049 attribute unsigned long currentState;
00050
00056 attribute unsigned long currentSubState;
00057
00061 attribute AString stateMessage;
00062
00066 attribute AString currentOperation;
00067
00071 attribute double progress;
00072
00076 attribute PRInt64 workItemProgress;
00077
00081 attribute PRInt64 workItemProgressEndCount;
00082
00086 attribute sbIMediaItem mediaItem;
00087
00091 attribute sbIMediaList mediaList;
00092
00096 void init(in AString aDeviceID);
00097 };
00098