Commit dfec0e89 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Completed refactoring campvis-application package:

All classes in campvis-application now have the CAMPVIS_APPLICATION_API macro specifying dll export/import state. The executable is now called campvis-gui.
parent 4768160f
......@@ -27,6 +27,7 @@
#include "core/pipeline/abstractworkflow.h"
#include "application/applicationapi.h"
#include "application/gui/properties/propertycollectionwidget.h"
#include <QLabel>
......@@ -49,7 +50,7 @@ namespace campvis {
* It has two buttons to navigate through the workflow and displays the properties
* of the \a AbstractWorkflow using a \a PropertyCollectionWidget.
*/
class WorkflowControllerWidget : public QWidget, public sigslot::has_slots {
class CAMPVIS_APPLICATION_API WorkflowControllerWidget : public QWidget, public sigslot::has_slots {
Q_OBJECT;
public:
......
......@@ -28,6 +28,8 @@
#include "tbb/mutex.h"
#include "cgt/logmanager.h"
#include "application/applicationapi.h"
#include <deque>
#include <QObject>
......@@ -36,7 +38,7 @@ namespace campvis {
/**
* BufferingLog stores up to the specified number of messages in memory.
*/
class BufferingLog : public QObject, public cgt::Log {
class CAMPVIS_APPLICATION_API BufferingLog : public QObject, public cgt::Log {
Q_OBJECT
......
......@@ -27,6 +27,8 @@
#include "cgt/logmanager.h"
#include "application/applicationapi.h"
#include <QObject>
#include <QTextEdit>
#include <QTextDocument>
......@@ -38,7 +40,7 @@ namespace campvis {
/**
* QTextEditLog implements logging to a QTextEdit instance.
*/
class QTextEditLog : private QObject, public Log {
class CAMPVIS_APPLICATION_API QTextEditLog : private QObject, public Log {
Q_OBJECT
......@@ -60,7 +62,7 @@ namespace campvis {
virtual ~QTextEditLog() {}
bool isOpen() { return true; }
signals:
signals:
/** Internal signal used to pass messages to _logDisplay in a thread-safe way.
*
* This class' \c log method is called from several non-GUI
......
......@@ -27,6 +27,9 @@
#include "cgt/job.h"
#include "cgt/singleton.h"
#include "application/applicationapi.h"
#include <QWidget>
#include <functional>
......@@ -45,7 +48,7 @@ namespace campvis {
* });
* \endcode
*/
class QtJobProcessor : public QWidget, public cgt::Singleton<QtJobProcessor> {
class CAMPVIS_APPLICATION_API QtJobProcessor : public QWidget, public cgt::Singleton<QtJobProcessor> {
Q_OBJECT;
public:
......
......@@ -22,8 +22,10 @@
//
// ================================================================================================
#include "cgt/assert.h"
#include "treeitem.h"
#include "cgt/assert.h"
#include <iostream>
namespace campvis {
......
......@@ -25,7 +25,7 @@
#ifndef TREEITEM_H__
#define TREEITEM_H__
#include <iostream>
#include "application/applicationapi.h"
#include <QList>
#include <QVariant>
......@@ -35,7 +35,7 @@ namespace campvis {
/**
* Abstract base class for TreeView items of the PipelineTreeWidget.
*/
class TreeItem {
class CAMPVIS_APPLICATION_API TreeItem {
public:
/**
* Creates a new TreeItem
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment