Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hpi.h
Go to the documentation of this file.
1 
9 /* This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public
11  * License as published by the Free Software Foundation; either
12  * version 2 of the License, or (at your option) any later version.
13  *
14  * This software is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public
20  * License along with this software. If not, see
21  * <http://www.gnu.org/licenses/>.
22  *
23  * KFJ 2011-01-18
24  *
25  */
26 
27 #if defined _WIN32 && defined Hugin_shared
28 #ifdef hugin_python_interface_EXPORTS
29 #define hsi_IMPEX __declspec(dllexport)
30 #else
31 #define hsi_IMPEX __declspec(dllimport)
32 #endif
33 #else
34 #define hsi_IMPEX
35 #endif
36 
37 namespace hpi
38 {
49 hsi_IMPEX extern int callhpi ( const char* plugin_name ,
50  int argc ,
51  ... ) ;
52 
53 }
#define hsi_IMPEX
Definition: hpi.h:34
int callhpi(const char *plugin_name, int argc,...)
simplified call interface to the Python Plugin facility.
Definition: hpi.cpp:55