2022-12-06 15:16:41 +01:00
|
|
|
// Copyright (C) 2022 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2023-09-01 17:20:47 +02:00
|
|
|
#include <coreplugin/inavigationwidgetfactory.h>
|
|
|
|
|
|
2023-03-22 10:39:09 +01:00
|
|
|
namespace Core { class IDocument; }
|
|
|
|
|
|
2022-12-06 15:16:41 +01:00
|
|
|
namespace LanguageClient {
|
|
|
|
|
|
2023-03-22 10:39:09 +01:00
|
|
|
class Client;
|
|
|
|
|
|
2022-12-06 15:16:41 +01:00
|
|
|
class CallHierarchyFactory : public Core::INavigationWidgetFactory
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CallHierarchyFactory();
|
|
|
|
|
|
2023-03-22 10:39:09 +01:00
|
|
|
static bool supportsCallHierarchy(Client *client, const Core::IDocument *document);
|
|
|
|
|
|
2022-12-06 15:16:41 +01:00
|
|
|
Core::NavigationView createWidget() override;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace LanguageClient
|