mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
refactor: Rename blackgui to swift::gui
This commit is contained in:
34
src/gui/windowfinder.h
Normal file
34
src/gui/windowfinder.h
Normal file
@@ -0,0 +1,34 @@
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2014 swift Project Community / Contributors
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef SWIFT_GUI_WINDOWFINDER_H
|
||||
#define SWIFT_GUI_WINDOWFINDER_H
|
||||
|
||||
#include "gui/swiftguiexport.h"
|
||||
#include <QString>
|
||||
|
||||
class QWindow;
|
||||
|
||||
namespace swift::gui
|
||||
{
|
||||
//! Finder for foreign windows
|
||||
class SWIFT_GUI_EXPORT IWindowFinder
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
IWindowFinder() {}
|
||||
|
||||
//! Destructor
|
||||
virtual ~IWindowFinder() {}
|
||||
|
||||
//! Find and return a foreign window owned by another process
|
||||
virtual QWindow *findForeignWindow(const QString &windowName, const QString &className) = 0;
|
||||
|
||||
//! Factory method
|
||||
static IWindowFinder *create();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user