javauis/eswt_qt/com.nokia.swt.extensions/extensions/org/eclipse/swt/internal/extension/NetworkStatusListener.java
changeset 23 98ccebc37403
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javauis/eswt_qt/com.nokia.swt.extensions/extensions/org/eclipse/swt/internal/extension/NetworkStatusListener.java	Fri May 14 15:47:24 2010 +0300
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     Nokia Corporation - initial implementation
+ *******************************************************************************/
+package org.eclipse.swt.internal.extension;
+
+/**
+ * A listener interface used in connection with the class
+ * <code>NetworkStatus</code>.
+ */
+public interface NetworkStatusListener {
+	/**
+	 * Called by the class <code>NetworkStatus</code> in the UI thread to
+	 * provide the current state of the network connections.
+	 * 
+	 * @param newStateFlags
+	 *            Combination of flags representing the currently active network
+	 *            connections. The flags are defined in the class
+	 *            <code>NetworkStatus</code>.
+	 * @see NetworkStatus
+	 */
+	public void stateChanged(int newStateFlags);
+}