add createdir function
[scilab.git] / scilab / modules / fileio / includes / fileio_gw.hxx
1 /*
2  *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  *  Copyright (C) 2010-2010 - DIGITEO - Bruno JOFRET
4  * 
5  *  This file must be used under the terms of the CeCILL.
6  *  This source file is licensed as described in the file COPYING, which
7  *  you should have received as part of this distribution.  The terms
8  *  are also available at
9  *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10  * 
11  */
12
13 #ifndef __FILEIO_GW_HXX__
14 #define __FILEIO_GW_HXX__
15
16 #include "funcmanager.hxx"
17 #include "context.hxx"
18
19 #ifdef _MSC_VER
20         #if FILEIO_GW_EXPORTS
21                 #define EXTERN_FILEIO_GW __declspec (dllexport)
22         #else
23                 #define EXTERN_FILEIO_GW __declspec (dllimport)
24         #endif
25 #else
26         #define EXTERN_FILEIO_GW 
27 #endif
28
29 class FileioModule
30 {
31 private :
32     FileioModule() {};
33     ~FileioModule() {};
34
35 public :
36         EXTERN_FILEIO_GW static bool Load();
37 };
38
39 CPP_GATEWAY_PROTOTYPE(sci_mopen);
40 CPP_GATEWAY_PROTOTYPE(sci_mclose);
41 CPP_GATEWAY_PROTOTYPE(sci_mput);
42 CPP_GATEWAY_PROTOTYPE(sci_mget);
43 CPP_GATEWAY_PROTOTYPE(sci_mputl);
44 CPP_GATEWAY_PROTOTYPE(sci_mgetl);
45 CPP_GATEWAY_PROTOTYPE(sci_pathconvert);
46 CPP_GATEWAY_PROTOTYPE(sci_isdir);
47 CPP_GATEWAY_PROTOTYPE(sci_filesep);
48 CPP_GATEWAY_PROTOTYPE(sci_fileparts);
49 CPP_GATEWAY_PROTOTYPE(sci_findfiles);
50 CPP_GATEWAY_PROTOTYPE(sci_basename);
51 CPP_GATEWAY_PROTOTYPE(sci_isfile);
52 CPP_GATEWAY_PROTOTYPE(sci_fileinfo);
53 CPP_GATEWAY_PROTOTYPE(sci_deletefile);
54 CPP_GATEWAY_PROTOTYPE(sci_getshortpathname);
55 CPP_GATEWAY_PROTOTYPE(sci_fileext);
56 CPP_GATEWAY_PROTOTYPE(sci_createdir);
57
58 #endif /* !__FILEIO_GW_HXX__ */