summaryrefslogtreecommitdiff
path: root/modules/ui_data/includes
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/ui_data/includes
downloadscilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip
CMSCOPE changed
Diffstat (limited to 'modules/ui_data/includes')
-rwxr-xr-xmodules/ui_data/includes/BrowseVarManager.h23
-rwxr-xr-xmodules/ui_data/includes/FileBrowserChDir.h24
-rwxr-xr-xmodules/ui_data/includes/dynlib_ui_data.h28
-rwxr-xr-xmodules/ui_data/includes/gw_ui_data.h26
-rwxr-xr-xmodules/ui_data/includes/ui_data.h29
5 files changed, 130 insertions, 0 deletions
diff --git a/modules/ui_data/includes/BrowseVarManager.h b/modules/ui_data/includes/BrowseVarManager.h
new file mode 100755
index 000000000..034c10eae
--- /dev/null
+++ b/modules/ui_data/includes/BrowseVarManager.h
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2010 - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+#ifndef __BROWSE_VAR_MANAGER_H__
+#define __BROWSE_VAR_MANAGER_H__
+/*--------------------------------------------------------------------------*/#
+#include "dynlib_ui_data.h"
+
+UI_DATA_IMPEXP void OpenBrowseVar();
+UI_DATA_IMPEXP void UpdateBrowseVar();
+UI_DATA_IMPEXP void SetBrowseVarData();
+
+/*--------------------------------------------------------------------------*/
+#endif /* __BROWSE_VAR_MANAGER_H__ */
diff --git a/modules/ui_data/includes/FileBrowserChDir.h b/modules/ui_data/includes/FileBrowserChDir.h
new file mode 100755
index 000000000..1488f1d44
--- /dev/null
+++ b/modules/ui_data/includes/FileBrowserChDir.h
@@ -0,0 +1,24 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2011 - DIGITEO - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+#ifndef __FILEBROWSERCHDIR_H__
+#define __FILEBROWSERCHDIR_H__
+/*--------------------------------------------------------------------------*/#
+#include "dynlib_ui_data.h"
+/**
+* FileBrowserChDir function
+* @param baseDir the current working directory
+*/
+UI_DATA_IMPEXP void FileBrowserChDir(char * baseDir);
+
+/*--------------------------------------------------------------------------*/
+#endif /* __FILEBROWSERCHDIR_H__ */
diff --git a/modules/ui_data/includes/dynlib_ui_data.h b/modules/ui_data/includes/dynlib_ui_data.h
new file mode 100755
index 000000000..0778c6c3e
--- /dev/null
+++ b/modules/ui_data/includes/dynlib_ui_data.h
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2010 - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution. The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __DYNLIB_UI_DATA_H__
+#define __DYNLIB_UI_DATA_H__
+
+#ifdef _MSC_VER
+#ifdef UI_DATA_EXPORTS
+#define UI_DATA_IMPEXP __declspec(dllexport)
+#else
+#define UI_DATA_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define UI_DATA_IMPEXP
+#endif
+
+#endif /* __DYNLIB_UI_DATA_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/ui_data/includes/gw_ui_data.h b/modules/ui_data/includes/gw_ui_data.h
new file mode 100755
index 000000000..b1eb1604b
--- /dev/null
+++ b/modules/ui_data/includes/gw_ui_data.h
@@ -0,0 +1,26 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution. The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+#ifndef __GW_UI_DATA__
+#define __GW_UI_DATA__
+/*--------------------------------------------------------------------------*/
+#include "dynlib_ui_data.h"
+/*--------------------------------------------------------------------------*/
+UI_DATA_IMPEXP int gw_ui_data(void);
+UI_DATA_IMPEXP int sci_editvar(char* fname, unsigned long l);
+UI_DATA_IMPEXP int sci_browsevar(char* fname, unsigned long l);
+UI_DATA_IMPEXP int sci_filebrowser(char* fname, unsigned long l);
+UI_DATA_IMPEXP int sci_updatebrowsevar(char* fname, unsigned long l);
+UI_DATA_IMPEXP int sci_closeEditvar(char* fname, unsigned long l);
+/*--------------------------------------------------------------------------*/
+#endif /* __GW_UI_DATA__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/ui_data/includes/ui_data.h b/modules/ui_data/includes/ui_data.h
new file mode 100755
index 000000000..f533a3499
--- /dev/null
+++ b/modules/ui_data/includes/ui_data.h
@@ -0,0 +1,29 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2011 - DIGITEO - Calixte DENIZET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution. The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*------------------------------------------------------------------------*/
+#ifndef __UI_DATA_C_H__
+#define __UI_DATA_C_H__
+/*------------------------------------------------------------------------*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+ /*------------------------------------------------------------------------*/
+ void putScilabVariable(char * name, char ** lines, int rows, int cols);
+ char * getUnnamedVariable();
+ /*------------------------------------------------------------------------*/
+#ifdef __cplusplus
+}
+#endif
+/*------------------------------------------------------------------------*/
+#endif /* __UI_DATA_C_H__ */
+/*------------------------------------------------------------------------*/