/* */ package quicktime.std.sg;
/* */
/* */ import quicktime.QTObject;
/* */ import quicktime.std.StdQTException;
/* */ import quicktime.util.QTHandleRef;
/* */
/* */ public class SGDeviceList extends QTHandleRef
/* */ {
/* */ private SequenceGrabber sg;
/* */
/* */ SGDeviceList(int paramInt, Object paramObject, SequenceGrabber paramSequenceGrabber)
/* */ {
/* 33 */ super(paramInt, paramObject, false, QTObject.ID(paramSequenceGrabber));
/* 34 */ this.sg = paramSequenceGrabber;
/* */ }
/* */
/* */ public int getCount()
/* */ {
/* 45 */ return getShortAt(0);
/* */ }
/* */
/* */ public int getSelectedIndex()
/* */ {
/* 52 */ return getShortAt(2);
/* */ }
/* */
/* */ public SGDeviceName getDeviceName(int paramInt)
/* */ throws StdQTException
/* */ {
/* 61 */ if ((paramInt < 0) || (paramInt >= getShortAt(0)))
/* 62 */ throw new StdQTException(-50);
/* 63 */ SGDeviceName localSGDeviceName = new SGDeviceName();
/* 64 */ copyToArray(8 + 80 * paramInt, localSGDeviceName.getBytes(), 0, 80);
/* 65 */ return localSGDeviceName;
/* */ }
/* */
/* */ public String toString()
/* */ {
/* 70 */ return getClass().getName() + "[count=" + getCount() + ",selectedIndex=" + getSelectedIndex() + "]";
/* */ }
/* */ }
/* Location: Z:\System\Library\Java\Extensions\QTJava.zip
* Qualified Name: quicktime.std.sg.SGDeviceList
* JD-Core Version: 0.6.2
*/