~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to src/core/FlaimProvider/FlaimWrapper/.svn/text-base/FlaimWrapper.h.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***********************************************************************
2
 
 *  $RCSfile$
3
 
 *
4
 
 *  Copyright (C) 2004 Novell, Inc.
5
 
 *
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.
10
 
 *
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.
15
 
 *
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.
19
 
 *
20
 
 *  Author: Russ Young
21
 
 *
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.
29
 
#ifdef WIN32
30
 
#ifdef FLAIMWRAPPER_EXPORTS
31
 
#define FLAIMWRAPPER_API __declspec(dllexport)
32
 
#else
33
 
#define FLAIMWRAPPER_API __declspec(dllimport)
34
 
#endif
35
 
#else
36
 
#ifdef UNIX
37
 
#define FLAIMWRAPPER_API
38
 
#endif
39
 
#endif
40
 
 
41
 
// This class is exported from the FlaimWrapper.dll
42
 
class FLAIMWRAPPER_API CFlaimWrapper {
43
 
public:
44
 
        CFlaimWrapper(void);
45
 
        // TODO: add your methods here.
46
 
};
47
 
 
48
 
extern FLAIMWRAPPER_API int nFlaimWrapper;
49
 
 
50
 
FLAIMWRAPPER_API int fnFlaimWrapper(void);
51