<commit_before>package com.opera.core.systems.scope.services;

import java.util.List;
//import java.util.concurrent.atomic.AtomicInteger;

import com.opera.core.systems.QuickWidget;
import com.opera.core.systems.QuickWindow;

public interface IDesktopWindowManager {

	/*
	 * @return id of active window 
	 */
	int getActiveWindowId();

	/*
	 * @return list of ids of open windows
	 */
	List<Integer> getWindowHandles();
	
	/*
	 * @return number of open windows
	 */
	int getOpenWindowCount();
	
	void init();

	/*
	 * @return list of QuickWidgets in the window given by id id
	 */
	List<QuickWidget> getQuickWidgetList(int id);
	
	/*
	 * Get the window with title title
	 * @param title
	 * @return QuickWindow
	 */
	QuickWindow getWindow(String title);
	
	/*
	 * 
	 * @param title
	 * @return id of window with the given title
	 */
	int getWindowID(String title);
	
	/*
	 * 
	 * @return list of all open windows
	 */
	List<QuickWindow> getQuickWindowList();

	/*
	 * 
	 * @param windowId
	 * @return name of the window
	 */
	String getWindowName(int windowId);

	/*
	 * Get the quick widget with value value for property property in the window
	 * specified by the id
	 *   
	 * @param id - window id
	 * @param property
	 * @param value - value of property given
	 * @return
	 */
	QuickWidget getQuickWidget(int id, String property, String value);
	
	/*
	 * Get the string specified by the given string id 
	 * @param enum_text
	 * @return
	 */
	String getString(String enum_text);
	
}
<commit_msg>Remove GetWindowHandles from desktopWindowManager to avoid clash with operadriver.getWindowHandles<commit_after>package com.opera.core.systems.scope.services;

import java.util.List;
//import java.util.concurrent.atomic.AtomicInteger;

import com.opera.core.systems.QuickWidget;
import com.opera.core.systems.QuickWindow;

public interface IDesktopWindowManager {

	/*
	 * @return id of active window 
	 */
	int getActiveWindowId();

	/*
	 * @return list of ids of open windows
	 */
	//List<Integer> getWindowHandles();
	
	/*
	 * @return number of open windows
	 */
	int getOpenWindowCount();
	
	void init();

	/*
	 * @return list of QuickWidgets in the window given by id id
	 */
	List<QuickWidget> getQuickWidgetList(int id);
	
	/*
	 * Get the window with title title
	 * @param title
	 * @return QuickWindow
	 */
	QuickWindow getWindow(String title);
	
	/*
	 * 
	 * @param title
	 * @return id of window with the given title
	 */
	int getWindowID(String title);
	
	/*
	 * 
	 * @return list of all open windows
	 */
	List<QuickWindow> getQuickWindowList();

	/*
	 * 
	 * @param windowId
	 * @return name of the window
	 */
	String getWindowName(int windowId);

	/*
	 * Get the quick widget with value value for property property in the window
	 * specified by the id
	 *   
	 * @param id - window id
	 * @param property
	 * @param value - value of property given
	 * @return
	 */
	QuickWidget getQuickWidget(int id, String property, String value);
	
	/*
	 * Get the string specified by the given string id 
	 * @param enum_text
	 * @return
	 */
	String getString(String enum_text);
	
}

{'fraction_non_alphanumeric': 0.10197474910974426, 'fraction_numerical': 0.0, 'mean_word_length': 3.209809264305177, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4045290', 'n_tokens_mistral': 1017, 'n_tokens_neox': 891, 'n_words': 304}