Salome HOME
debug IPAL9411: redefine virtual methods createEmptyStudy and activateModule
[modules/gui.git] / src / SalomeApp / SalomeApp.h
1 // File:      SalomeApp.h
2 // Created:   November, 2004
3 // Author:    OCC team
4 // Copyright (C) CEA 2004
5
6
7 // The following ifdef block is the standard way of creating macros which make exporting 
8 // from a DLL simpler. All files within this DLL are compiled with the SalomeApp_EXPORTS
9 // symbol defined on the command line. this symbol should not be defined on any project
10 // that uses this DLL. This way any other project whose source files include this file see 
11 // SalomeApp_API functions as being imported from a DLL, wheras this DLL sees symbols
12 // defined with this macro as being exported.
13 #ifdef WNT
14
15 #ifdef SALOMEAPP_EXPORTS
16 #define SALOMEAPP_EXPORT __declspec(dllexport)
17 #else
18 #define SALOMEAPP_EXPORT __declspec(dllimport)
19 #endif
20
21 #else
22 #define SALOMEAPP_EXPORT
23 #endif               //WNT
24
25 #define APP_VERSION "0.1"
26
27 #if defined WNT
28 #pragma warning ( disable: 4251 )
29 #endif
30