1
/***********************************************************************
4
* Copyright (C) 2004 Novell, Inc.
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
16
* You should have received a copy of the GNU General Public
17
* License along with this program; if not, write to the Free
18
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
***********************************************************************/
23
// The following ifdef block is the standard way of creating macros which make exporting
24
// from a DLL simpler. All files within this DLL are compiled with the FLAIMWRAPPER_EXPORTS
25
// symbol defined on the command line. this symbol should not be defined on any project
26
// that uses this DLL. This way any other project whose source files include this file see
27
// FLAIMWRAPPER_API functions as being imported from a DLL, wheras this DLL sees symbols
28
// defined with this macro as being exported.
30
#ifdef FLAIMWRAPPER_EXPORTS
31
#define FLAIMWRAPPER_API __declspec(dllexport)
33
#define FLAIMWRAPPER_API __declspec(dllimport)
37
#define FLAIMWRAPPER_API
41
// This class is exported from the FlaimWrapper.dll
42
class FLAIMWRAPPER_API CFlaimWrapper {
45
// TODO: add your methods here.
48
extern FLAIMWRAPPER_API int nFlaimWrapper;
50
FLAIMWRAPPER_API int fnFlaimWrapper(void);