/*******************************************************************************
 * Copyright (c) 2008 compeople AG and others.
 * 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:
 * 	compeople AG (Stefan Liebig) - initial API and implementation
 *******************************************************************************/
package org.eclipse.core.internal.net.proxy.win32.winhttp;

/**
 * This holder class just helps passing parameters into a native function and retrieve information
 * from it.
 * <p>
 * The fields will be written/read by the jni glue code.
 * </p>
 */
public class AutoProxyHolder {

	public int autoDetectFlags;

	public String autoConfigUrl;

	/**
	 * Set the auto detect flags.
	 * 
	 * @param autoDetectFlags
	 */
	public void setAutoDetectFlags(int autoDetectFlags) {
		this.autoDetectFlags= autoDetectFlags;
	}

	/**
	 * Get the auto config url.
	 * 
	 * @return the auto config url (pac file)
	 */
	public String getAutoConfigUrl() {
		return autoConfigUrl;
	}

}
