]> SALOME platform Git repositories - modules/gui.git/blob - src/LightApp/LightApp.h
Salome HOME
1d0f5e196e15b9285b1f9c9ab520dbf66f5fc4e9
[modules/gui.git] / src / LightApp / LightApp.h
1 // File:      LightApp.h
2 // Created:   June, 2005
3 // Author:    OCC team
4 // Copyright (C) CEA 2005
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 LightApp_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 // LightApp_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 LIGHTAPP_EXPORTS
16 #define LIGHTAPP_EXPORT __declspec(dllexport)
17 #else
18 #define LIGHTAPP_EXPORT __declspec(dllimport)
19 #endif
20
21 #pragma warning ( disable:4251 )
22 #pragma warning ( disable:4786 )
23 #pragma warning ( disable:4503 )
24
25 #else
26 #define LIGHTAPP_EXPORT
27 #endif               //WNT
28
29 #define APP_VERSION "0.1"