${KERNEL_LDFLAGS} ${KERNEL_SALOMELocalTrace} ${KERNEL_OpUtil}
${GUI_LDFLAGS} suit Event PyInterp
${_PARAVIEW_APP_COMPO_LIB}
+ vtkRenderingFreeTypeOpenGL
)
# --- headers ---
# header files / no moc processing
SET(_other_HEADERS
+ PVViewer.h
PVViewer_LogWindowAdapter.h
PVViewer_EngineWrapper.h
)
--- /dev/null
+// Copyright (C) 2010-2014 CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+
+#ifndef PVVIEWER_H
+#define PVVIEWER_H
+
+#ifdef WIN32
+#if defined PVViewer_EXPORTS
+#define PVVIEWER_EXPORT __declspec(dllexport)
+#else
+#define PVVIEWER_EXPORT __declspec(dllimport)
+#endif
+#else
+#define PVVIEWER_EXPORT
+#endif
+
+#endif //PVVIEWER_H
#ifndef PVGUIBEHAVIORS_H_
#define PVGUIBEHAVIORS_H_
+#include "PVViewer.h"
+
#include <QObject>
class SalomeApp_Module;
* Qt/ApplicationComponents/pqParaViewBehaviors.cxx
* Except a few ones, behaviors are destroyed when the module is destroyed.
*/
-class PVViewer_Behaviors: public QObject
+class PVVIEWER_EXPORT PVViewer_Behaviors: public QObject
{
Q_OBJECT
#ifndef PVVIEWERENGINEWRAPPER_H_
#define PVVIEWERENGINEWRAPPER_H_
+#include "PVViewer.h"
+
#include <PyInterp_Utils.h>
#include <string>
* (Two implementations are provided: one with CORBA dynamic invokation from C++, one using
* Python - see commented elements in the .cxx file)
*/
-class PVViewer_EngineWrapper
+class PVVIEWER_EXPORT PVViewer_EngineWrapper
{
public:
//! Returns the unique instance of the engine.
#ifndef PVVIEWERGUIELEMENTS_H_
#define PVVIEWERGUIELEMENTS_H_
+#include "PVViewer.h"
+
#include <QObject>
class pqPropertiesPanel;
* For example sources menu should be built *before* loading ParaView's configuration, so that the
* list of sources gets properly populated.
*/
-class PVViewer_GUIElements: public QObject
+class PVVIEWER_EXPORT PVViewer_GUIElements: public QObject
{
Q_OBJECT
#ifndef _PVViewer_LogWindowAdapter_h
#define _PVViewer_LogWindowAdapter_h
+#include "PVViewer.h"
+
#include <vtkOutputWindow.h>
class LogWindow;
This class is based on pqOutputWindow ParaView class.
*/
-class PVViewer_LogWindowAdapter : public vtkOutputWindow
+class PVVIEWER_EXPORT PVViewer_LogWindowAdapter : public vtkOutputWindow
{
public:
static PVViewer_LogWindowAdapter *New();
#ifndef PVViewer_VIEWMANAGER_H
#define PVViewer_VIEWMANAGER_H
+#include "PVViewer.h"
+
#include <SUIT_ViewManager.h>
class PVViewer_EngineWrapper;
class pqPipelineBrowserWidget;
class LogWindow;
-class PVViewer_ViewManager : public SUIT_ViewManager
+class PVVIEWER_EXPORT PVViewer_ViewManager : public SUIT_ViewManager
{
Q_OBJECT
#if !defined(_PVViewer_VIEWMODEL_H)
#define _PVViewer_VIEWMODEL_H
+#include "PVViewer.h"
+
#include <SUIT_ViewModel.h>
class SUIT_ViewWindow;
class SUIT_Desktop;
class SUIT_Desktop;
-class PVViewer_Viewer: public SUIT_ViewModel
+class PVVIEWER_EXPORT PVViewer_Viewer: public SUIT_ViewModel
{
Q_OBJECT
#ifndef PVViewer_VIEWWINDOW_H
#define PVViewer_VIEWWINDOW_H
+#include "PVViewer.h"
+
#include <SUIT_ViewWindow.h>
#include <QMap>
class PVViewer_Viewer;
class pqTabbedMultiViewWidget;
-class PVViewer_ViewWindow : public SUIT_ViewWindow
+class PVVIEWER_EXPORT PVViewer_ViewWindow : public SUIT_ViewWindow
{
Q_OBJECT