view org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/internal/mozilla/nsIWindowWatcher.d @ 25:f713da8bc051

Added SWT Linux GTK
author Frank Benoit <benoit@tionex.de>
date Fri, 20 Mar 2009 23:03:58 +0100
parents
children
line wrap: on
line source

module org.eclipse.swt.internal.mozilla.nsIWindowWatcher;

import java.lang.all;

import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;

import org.eclipse.swt.internal.mozilla.nsIDOMWindow;
import org.eclipse.swt.internal.mozilla.nsIObserver; 
import org.eclipse.swt.internal.mozilla.nsIPrompt; 
import org.eclipse.swt.internal.mozilla.nsIAuthPrompt;
import org.eclipse.swt.internal.mozilla.nsISimpleEnumerator;
import org.eclipse.swt.internal.mozilla.nsIWebBrowserChrome;
import org.eclipse.swt.internal.mozilla.nsIWindowCreator; 

const char[] NS_IWINDOWWATCHER_IID_STR = "002286a8-494b-43b3-8ddd-49e3fc50622b";

const nsIID NS_IWINDOWWATCHER_IID= 
  {0x002286a8, 0x494b, 0x43b3, 
    [ 0x8d, 0xdd, 0x49, 0xe3, 0xfc, 0x50, 0x62, 0x2b ]};

interface nsIWindowWatcher : nsISupports {

  static const char[] IID_STR = NS_IWINDOWWATCHER_IID_STR;
  static const nsIID IID = NS_IWINDOWWATCHER_IID;

extern(System):
  nsresult OpenWindow(nsIDOMWindow aParent, char *aUrl, char *aName, char *aFeatures, nsISupports aArguments, nsIDOMWindow *_retval);
  nsresult RegisterNotification(nsIObserver aObserver);
  nsresult UnregisterNotification(nsIObserver aObserver);
  nsresult GetWindowEnumerator(nsISimpleEnumerator *_retval);
  nsresult GetNewPrompter(nsIDOMWindow aParent, nsIPrompt *_retval);
  nsresult GetNewAuthPrompter(nsIDOMWindow aParent, nsIAuthPrompt *_retval);
  nsresult SetWindowCreator(nsIWindowCreator creator);
  nsresult GetChromeForWindow(nsIDOMWindow aWindow, nsIWebBrowserChrome *_retval);
  nsresult GetWindowByName(PRUnichar *aTargetName, nsIDOMWindow aCurrentWindow, nsIDOMWindow *_retval);
  nsresult GetActiveWindow(nsIDOMWindow  *aActiveWindow);
  nsresult SetActiveWindow(nsIDOMWindow  aActiveWindow);

}