IDLLoad.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21 \file terralib/idl/IDLLoad.h
22 
23 \brief IDL module entry point.
24 */
25 
26 #ifndef __TERRALIB_IDL_INTERNAL_IDLLOAD_H
27 #define __TERRALIB_IDL_INTERNAL_IDLLOAD_H
28 
29 #include "Config.h"
30 
31 #include <stdio.h>
32 #include <idl_export.h>
33 
34 #ifdef __cplusplus
35  extern "C" {
36 #endif
37 
38 /*!
39  \brief IDL module entry point.
40 
41  \details Every loadable module sharable library must export a single symbol
42  called IDL_Load(). This function is called when IDL loads the module, and is expected to do all the work required to load real definitions for the routines supplied by the
43  function and prepare the module for use.
44 
45  \return It is expected to return True (non-zero) if it was successful, and
46  False (0) if some initialization step failed.
47 */
48 int TEIDLEXPORT IDL_Load(void);
49 
50 /*!
51  \brief IDL exit handler
52 
53  \details IDL maintains a list of exit handler functions that it calls as part of its shutdown
54 operations. These handlers perform actions such as closing files, wrapping up
55 graphics output, and restoring the user environment to its initial state.
56 */
57 void IDL_ExitHandler(void);
58 
59 #ifdef __cplusplus
60  }; // extern "C"
61 #endif
62 
63 #endif // __TERRALIB_IDL_INTERNAL_IDLLOAD_H
#define TEIDLEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:81
Configuration flags for the IDL module of TerraLib.
int TEIDLEXPORT IDL_Load(void)
IDL module entry point.
void IDL_ExitHandler(void)
IDL exit handler.