Salome HOME
new menu item "Erase all"
[modules/gui.git] / src / LightApp / LightApp.h
1 // File:      LightApp.h\r
2 // Created:   June, 2005\r
3 // Author:    OCC team\r
4 // Copyright (C) CEA 2005\r
5 \r
6 \r
7 // The following ifdef block is the standard way of creating macros which make exporting \r
8 // from a DLL simpler. All files within this DLL are compiled with the LightApp_EXPORTS\r
9 // symbol defined on the command line. this symbol should not be defined on any project\r
10 // that uses this DLL. This way any other project whose source files include this file see \r
11 // LightApp_API functions as being imported from a DLL, wheras this DLL sees symbols\r
12 // defined with this macro as being exported.\r
13 #ifdef WNT\r
14 \r
15 #ifdef LIGHTAPP_EXPORTS\r
16 #define LIGHTAPP_EXPORT __declspec(dllexport)\r
17 #else\r
18 #define LIGHTAPP_EXPORT __declspec(dllimport)\r
19 #endif\r
20 \r
21 #else\r
22 #define LIGHTAPP_EXPORT\r
23 #endif               //WNT\r
24 \r
25 #define APP_VERSION "0.1"\r
26 \r
27 #pragma warning ( disable:4251 )\r
28 #pragma warning ( disable:4786 )\r