home *** CD-ROM | disk | FTP | other *** search
/ PCNet 2003 November / PCNET_2003_11_1.iso / toolkit / MPsetupXP.exe / wmpns.jar / WMPNS / IWMPPlayerApplication.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-10-15  |  870 b   |  40 lines

  1. package WMPNS;
  2.  
  3. public class IWMPPlayerApplication {
  4.    int m_pIWMPPlayerApplication = -1;
  5.    int m_hWnd = 0;
  6.  
  7.    private native boolean equalsNative(int var1, int var2, int var3);
  8.  
  9.    public boolean getHasDisplay() {
  10.       return this.getHasDisplayNative(this.m_pIWMPPlayerApplication, this.m_hWnd);
  11.    }
  12.  
  13.    IWMPPlayerApplication() {
  14.    }
  15.  
  16.    private native void switchToPlayerApplicationNative(int var1, int var2);
  17.  
  18.    public boolean getPlayerDocked() {
  19.       return this.getPlayerDockedNative(this.m_pIWMPPlayerApplication, this.m_hWnd);
  20.    }
  21.  
  22.    public boolean equals(IWMPPlayerApplication var1) {
  23.       return this.equalsNative(this.m_pIWMPPlayerApplication, var1.m_pIWMPPlayerApplication, this.m_hWnd);
  24.    }
  25.  
  26.    private native void switchToControlNative(int var1, int var2);
  27.  
  28.    private native boolean getPlayerDockedNative(int var1, int var2);
  29.  
  30.    public void switchToControl() {
  31.       this.switchToControlNative(this.m_pIWMPPlayerApplication, this.m_hWnd);
  32.    }
  33.  
  34.    private native boolean getHasDisplayNative(int var1, int var2);
  35.  
  36.    public void switchToPlayerApplication() {
  37.       this.switchToPlayerApplicationNative(this.m_pIWMPPlayerApplication, this.m_hWnd);
  38.    }
  39. }
  40.