Files
o3de/Code/Framework/AzToolsFramework/AzToolsFramework/SourceControl/QtSourceControlNotificationHandler.h
T
2021-06-23 10:55:22 -07:00

36 lines
811 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#if !defined(Q_MOC_RUN)
#include <AzToolsFramework/SourceControl/SourceControlAPI.h>
#include <QString>
#include <QObject>
#endif
namespace AzToolsFramework
{
class QtSourceControlNotificationHandler
: public QObject
, private SourceControlNotificationBus::Handler
{
Q_OBJECT
public:
explicit QtSourceControlNotificationHandler(QWidget* pParent);
virtual ~QtSourceControlNotificationHandler();
void Init();
void Shutdown();
private:
// AzToolsFramework::SourceControlNotificationBus::Handler
void RequestTrust(const char* fingerprint) override;
};
} // namespace AzToolsFramework