nsIScriptabledownloadPlugin.idl
上传用户:hongyu5696
上传日期:2018-01-22
资源大小:391k
文件大小:1k
源码类别:
PlugIns编程
开发平台:
Unix_Linux
- #include "nsISupports.idl"
- [scriptable, uuid(fb9f414e-1dd1-4444-6666-f728830f2465)]
- interface nsIScriptableWMPPlugin : nsISupports
- {
- void play();
- void pause();
- void stop();
- };
- [scriptable, uuid(fb9f414f-1dd1-4444-6666-f728830f2465)]
- interface nsIScriptabledownloadPlugin : nsISupports
- {
- void Play();
- void PlayAt(in double value);
- void Pause();
- void Stop();
- void quit();
- void DoPlay();
- void DoPause();
- void FastForward();
- void FastReverse();
- void ff();
- void rew();
- void rewind();
- void Seek(in double value);
- void Open(in string filename);
- void SetFileName(in string filename);
- void SetIsLooping(in boolean loop);
- boolean GetIsLooping();
- void SetAutoPlay(in boolean autoPlay);
- boolean GetAutoPlay();
- void SetHREF(in string url);
- string GetHREF();
- void SetURL(in string url);
- string GetURL();
- string GetMIMEType();
- string GetData();
- string WriteData();
- string DetectPlugin(in string filename);
- string GetPlugin(in string url);
- double getTime();
- double getDuration();
- double getPercent();
- boolean isplaying();
- void playlistAppend(in string item);
- boolean playlistClear();
- attribute string filename;
- attribute boolean ShowControls;
- attribute boolean fullscreen;
- attribute boolean showlogo;
- readonly attribute long playState;
- readonly attribute nsIScriptableWMPPlugin controls;
- };