class LightApp_Study;
/*!Description : Data Object has empty entry so it's children must redefine metod entry() and return some unique string*/
-
+// to do : decomment virtual inheritance
class LIGHTAPP_EXPORT LightApp_DataObject : public virtual CAM_DataObject
{
class Key;
#ifndef LIGHTAPP_DATAOWNER_H
#define LIGHTAPP_DATAOWNER_H
+#include "LightApp.h"
#include "SUIT_DataOwner.h"
#include "SALOME_InteractiveObject.hxx"
/*!
This class provide data owner objects.
*/
-class LightApp_DataOwner : public SUIT_DataOwner
+class LIGHTAPP_EXPORT LightApp_DataOwner : public SUIT_DataOwner
{
public:
LightApp_DataOwner( const Handle(SALOME_InteractiveObject)& theIO );
#ifndef LIGHTAPP_DATASUBOWNER_H
#define LIGHTAPP_DATASUBOWNER_H
+#include "LightApp.h"
#include <LightApp_DataOwner.h>
/*!
Class provide sub owner.
*/
-class LightApp_DataSubOwner : public LightApp_DataOwner
+class LIGHTAPP_EXPORT LightApp_DataSubOwner : public LightApp_DataOwner
{
public:
LightApp_DataSubOwner( const QString&, const int );
#ifndef LIGHTAPP_DIALOG_H
#define LIGHTAPP_DIALOG_H
+#include "LightApp.h"
#include <QtxDialog.h>
#include <qvaluelist.h>
Class : LightApp_Dialog
Description : Base class for all LightApp dialogs
*/
-class LightApp_Dialog : public QtxDialog
+class LIGHTAPP_EXPORT LightApp_Dialog : public QtxDialog
{
Q_OBJECT
#include <OSD_SingleProtection.hxx>
#include <OSD_FileIterator.hxx>
+#ifdef WIN32
+#include <time.h>
+#endif
+
/*! Constructor.*/
LightApp_Driver::LightApp_Driver()
{
#ifndef LIGHTAPP_DRIVER_H
#define LIGHTAPP_DRIVER_H
-#include "LightApp.h"
+#include <LightApp.h>
-#include "string.h"
-#include "vector.h"
-#include "map.h"
+#include "string"
+#include "vector"
+#include "map"
#ifdef WIN32
#pragma warning( disable:4251 )
myViewer( viewer )
{
if ( myViewer )
- connect( myViewer, SIGNAL( selectionChanged() ), this, SLOT( onSelectionChanged() ) );
+ connect( myViewer, SIGNAL( selectionChanged( SelectionChangeStatus ) ),
+ this, SLOT( onSelectionChanged() ) );
}
/*!Destructor. Do nothing.*/
// Author : Michael Zorin (mzn)
// Module : LightApp
-#include "LightApp_ModuleDlg.h"
+#include <LightApp_ModuleDlg.h>
#include <qframe.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qpixmap.h>
+
+#ifndef WIN32
using namespace std;
+#endif
/*!Default icon*/
static const char* const default_icon[] = {
#ifndef LIGHTAPP_MODULEDLG_H
#define LIGHTAPP_MODULEDLG_H
+#include "LightApp.h"
#include <qdialog.h>
#include <qpixmap.h>
class QLabel;
class QPushButton;
-class LightApp_ModuleDlg : public QDialog
+class LIGHTAPP_EXPORT LightApp_ModuleDlg : public QDialog
{
Q_OBJECT
// Author : Vadim SANDLER
// $Header$
-#include "LightApp_NameDlg.h"
-#include "SUIT_Application.h"
-#include "SUIT_Desktop.h"
-#include "SUIT_Tools.h"
+#include <LightApp_NameDlg.h>
+#include <SUIT_Application.h>
+#include <SUIT_Desktop.h>
+#include <SUIT_Tools.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qlayout.h>
+
+#ifndef WIN32
using namespace std;
+#endif
/*!
Constructor
#ifndef LIGHTAPP_NAMEDLG_H
#define LIGHTAPP_NAMEDLG_H
+#include "LightApp.h"
#include <qdialog.h>
class QLineEdit;
// class : LightApp_NameDlg
/*! purpose : Common <Rename> dialog box class*/
//=================================================================================
-class LightApp_NameDlg : public QDialog
+class LIGHTAPP_EXPORT LightApp_NameDlg : public QDialog
{
Q_OBJECT
#ifndef LightApp_Operation_H
#define LightApp_Operation_H
+#include "LightApp.h"
#include <SUIT_Operation.h>
class LightApp_Module;
*
* Base class for all operations (see SUIT_Operation for more description)
*/
-class LightApp_Operation : public SUIT_Operation
+class LIGHTAPP_EXPORT LightApp_Operation : public SUIT_Operation
{
Q_OBJECT
{
public:
LightApp_RootObject( LightApp_Study* study )
- : myStudy( study ) {}
+ : myStudy( study )
+ {
+ // to do : to be removed
+ FILE* f = fopen( "d:\\temp\\SUIT.log", "a" );
+ char str[ 255 ];
+ sprintf( str, "LightApp_RootObject 0x%X \n", this );
+ fputs( str, f );
+ fclose( f );
+ }
virtual ~LightApp_RootObject() {}
#ifndef LIGHTAPP_SELECTION_HeaderFile
#define LIGHTAPP_SELECTION_HeaderFile
+#include "LightApp.h"
#include <QtxPopupMgr.h>
class LightApp_SelectionMgr;
class SUIT_ViewWindow;
-class LightApp_Selection : public QtxPopupMgr::Selection
+class LIGHTAPP_EXPORT LightApp_Selection : public QtxPopupMgr::Selection
{
public:
LightApp_Selection();
#ifndef LIGHTAPP_STUDY_H
#define LIGHTAPP_STUDY_H
-#include "LightApp.h"
-#include "LightApp_Driver.h"
+#include <LightApp.h>
+#include <LightApp_Driver.h>
-#include "CAM_Study.h"
-#include "CAM_DataModel.h"
-#include "SUIT_Study.h"
+#include <CAM_Study.h>
+#include <CAM_DataModel.h>
+#include <SUIT_Study.h>
-#include "string.h"
-#include "vector.h"
-
-#ifdef WIN32
-#pragma warning( disable:4251 )
-#endif
+#include "string"
+#include "vector"
class SUIT_Application;
class CAM_DataModel;
#ifndef LightApp_SwitchOp_H
#define LightApp_SwitchOp_H
+#include "LightApp.h"
#include <qobject.h>
class LightApp_Module;
* operation is suspended and new operation activated. Module contains this class as a
* field. Then module is created instance of this class created too.
*/
-class LightApp_SwitchOp : public QObject
+class LIGHTAPP_EXPORT LightApp_SwitchOp : public QObject
{
Q_OBJECT
/*!
Provide salome vtk data owner list.
*/
-class LightApp_SVTKDataOwner : public LightApp_DataOwner
+class LIGHTAPP_EXPORT LightApp_SVTKDataOwner : public LightApp_DataOwner
{
public:
LightApp_SVTKDataOwner( const Handle(SALOME_InteractiveObject)& theIO,