[libcalamaresui] Make symbols visible as needed
This commit is contained in:
parent
dc39791766
commit
54265f87b1
@ -11,6 +11,8 @@
|
|||||||
#ifndef MODULELOADER_H
|
#ifndef MODULELOADER_H
|
||||||
#define MODULELOADER_H
|
#define MODULELOADER_H
|
||||||
|
|
||||||
|
#include "DllMacro.h"
|
||||||
|
|
||||||
#include "modulesystem/Descriptor.h"
|
#include "modulesystem/Descriptor.h"
|
||||||
#include "modulesystem/InstanceKey.h"
|
#include "modulesystem/InstanceKey.h"
|
||||||
#include "modulesystem/Requirement.h"
|
#include "modulesystem/Requirement.h"
|
||||||
@ -32,7 +34,7 @@ class RequirementsModel;
|
|||||||
* constructs objects of type Module, loads them and makes them accessible by their
|
* constructs objects of type Module, loads them and makes them accessible by their
|
||||||
* instance key.
|
* instance key.
|
||||||
*/
|
*/
|
||||||
class ModuleManager : public QObject
|
class UIDLLEXPORT ModuleManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
#ifndef UTILS_PASTE_H
|
#ifndef UTILS_PASTE_H
|
||||||
#define UTILS_PASTE_H
|
#define UTILS_PASTE_H
|
||||||
|
|
||||||
|
#include "DllMacro.h"
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
class QObject;
|
class QObject;
|
||||||
@ -23,20 +25,20 @@ namespace Paste
|
|||||||
*
|
*
|
||||||
* Returns the (string) URL that the pastebin gives us.
|
* Returns the (string) URL that the pastebin gives us.
|
||||||
*/
|
*/
|
||||||
QString doLogUpload( QObject* parent );
|
UIDLLEXPORT QString doLogUpload( QObject* parent );
|
||||||
|
|
||||||
/** @brief Send the current log file to a pastebin
|
/** @brief Send the current log file to a pastebin
|
||||||
*
|
*
|
||||||
* As doLogUpload(), but also sets the clipboard and displays
|
* As doLogUpload(), but also sets the clipboard and displays
|
||||||
* a message saying it's been done.
|
* a message saying it's been done.
|
||||||
*/
|
*/
|
||||||
QString doLogUploadUI( QWidget* parent );
|
UIDLLEXPORT QString doLogUploadUI( QWidget* parent );
|
||||||
|
|
||||||
/** @brief Is paste enabled?
|
/** @brief Is paste enabled?
|
||||||
*
|
*
|
||||||
* Checks the branding instance if paste can be done.
|
* Checks the branding instance if paste can be done.
|
||||||
*/
|
*/
|
||||||
bool isEnabled();
|
UIDLLEXPORT bool isEnabled();
|
||||||
} // namespace Paste
|
} // namespace Paste
|
||||||
|
|
||||||
} // namespace Calamares
|
} // namespace Calamares
|
||||||
|
@ -27,7 +27,14 @@ namespace Calamares
|
|||||||
|
|
||||||
class Slideshow;
|
class Slideshow;
|
||||||
|
|
||||||
class ExecutionViewStep : public ViewStep
|
/**
|
||||||
|
* @class
|
||||||
|
*
|
||||||
|
* This is the implementation of the special ViewStep "Install"
|
||||||
|
* which takes care of an *exec* phase in the sequence. It runs
|
||||||
|
* jobs, shows the slideshow, etc.
|
||||||
|
*/
|
||||||
|
class UIDLLEXPORT ExecutionViewStep : public ViewStep
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
#ifndef QMLVIEWSTEP_H
|
#ifndef QMLVIEWSTEP_H
|
||||||
#define QMLVIEWSTEP_H
|
#define QMLVIEWSTEP_H
|
||||||
|
|
||||||
|
#include "DllMacro.h"
|
||||||
#include "utils/Qml.h"
|
#include "utils/Qml.h"
|
||||||
#include "viewpages/ViewStep.h"
|
#include "viewpages/ViewStep.h"
|
||||||
|
|
||||||
@ -37,7 +38,7 @@ namespace Calamares
|
|||||||
* the QML in the module, see the module documentation:
|
* the QML in the module, see the module documentation:
|
||||||
* src/modules/README.md
|
* src/modules/README.md
|
||||||
*/
|
*/
|
||||||
class QmlViewStep : public Calamares::ViewStep
|
class UIDLLEXPORT QmlViewStep : public Calamares::ViewStep
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
@ -11,10 +11,12 @@
|
|||||||
#ifndef FIXEDASPECTRATIOLABEL_H
|
#ifndef FIXEDASPECTRATIOLABEL_H
|
||||||
#define FIXEDASPECTRATIOLABEL_H
|
#define FIXEDASPECTRATIOLABEL_H
|
||||||
|
|
||||||
|
#include "DllMacro.h"
|
||||||
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
|
|
||||||
class FixedAspectRatioLabel : public QLabel
|
class UIDLLEXPORT FixedAspectRatioLabel : public QLabel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
#ifndef WAITINGWIDGET_H
|
#ifndef WAITINGWIDGET_H
|
||||||
#define WAITINGWIDGET_H
|
#define WAITINGWIDGET_H
|
||||||
|
|
||||||
|
#include "DllMacro.h"
|
||||||
|
|
||||||
#include "widgets/waitingspinnerwidget.h"
|
#include "widgets/waitingspinnerwidget.h"
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
@ -24,7 +26,7 @@ class QTimer;
|
|||||||
* and the text is displayed centered below it. Use this
|
* and the text is displayed centered below it. Use this
|
||||||
* to display a long-term waiting situation with a status report.
|
* to display a long-term waiting situation with a status report.
|
||||||
*/
|
*/
|
||||||
class WaitingWidget : public WaitingSpinnerWidget
|
class UIDLLEXPORT WaitingWidget : public WaitingSpinnerWidget
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// Create a WaitingWidget with initial @p text label.
|
/// Create a WaitingWidget with initial @p text label.
|
||||||
@ -39,7 +41,7 @@ public:
|
|||||||
* every second. The signal timeout() is sent every time
|
* every second. The signal timeout() is sent every time
|
||||||
* the countdown reaches 0.
|
* the countdown reaches 0.
|
||||||
*/
|
*/
|
||||||
class CountdownWaitingWidget : public WaitingSpinnerWidget
|
class UIDLLEXPORT CountdownWaitingWidget : public WaitingSpinnerWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
@ -30,12 +30,13 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Qt includes
|
#include "DllMacro.h"
|
||||||
|
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
class WaitingSpinnerWidget : public QWidget
|
class UIDLLEXPORT WaitingSpinnerWidget : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user