Files
qt-creator/src/plugins/helloworld/helloworldplugin.h

35 lines
744 B
C
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
2008-12-02 15:08:31 +01:00
#pragma once
2008-12-02 12:01:29 +01:00
#include <extensionsystem/iplugin.h>
namespace HelloWorld {
namespace Internal {
class HelloMode;
2008-12-02 12:01:29 +01:00
class HelloWorldPlugin
: public ExtensionSystem::IPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "HelloWorld.json")
2008-12-02 12:01:29 +01:00
public:
HelloWorldPlugin();
~HelloWorldPlugin() override;
2008-12-02 12:01:29 +01:00
bool initialize(const QStringList &arguments, QString *errorMessage) override;
2008-12-02 12:01:29 +01:00
void extensionsInitialized() override;
2008-12-02 12:01:29 +01:00
private:
2008-12-02 12:01:29 +01:00
void sayHelloWorld();
HelloMode *m_helloMode = nullptr;
2008-12-02 12:01:29 +01:00
};
} // namespace Internal
} // namespace HelloWorld