/*[
 * This file is part of the SharedComponents Software.
 * 
 * Copyright 2008 Paradigm B.V. and/or its affiliates and subsidiaries.
 * All rights reserved.
 * 
 * Use of this software is subject to the terms and conditions of the license
 * agreement with Paradigm Geophysical B.V. and/or its affiliates and
 * subsidiaries (collectively "Paradigm").
 * 
 * Warning: This computer program is protected by copyright law and international
 * treaties. Unauthorized reproduction or distribution of this program, or any
 * portion of it, may result in severe civil and criminal penalties, and will be
 * prosecuted to the maximum extent possible under the law.
]*/

#ifndef PDGM_WIDGETS_EXPORT_H
#define PDGM_WIDGETS_EXPORT_H

//
// FIX:handle WIN64 platform (S.I.)
// replace: defined(_WIN32) by: defined(Q_OS_WIN)
// add #include <QtCore/qglobal.h> where Q_OS_WIN is defined
// 

#include <QtCore/qglobal.h>

#if ! defined(PDGM_WIDGETS_EXPORT)
#   if defined(Q_OS_WIN)
#       if defined(PDGM_WIDGETS_BUILD)
#           define PDGM_WIDGETS_EXPORT __declspec(dllexport)
#       else
#           define PDGM_WIDGETS_EXPORT __declspec(dllimport)
#       endif
#   else
#       define PDGM_WIDGETS_EXPORT
#   endif
#endif

#endif
