summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/PythonUtil.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2017-05-17 15:02:14 -0700
committerMark Spruiell <mes@zeroc.com>2017-05-17 15:02:14 -0700
commitb535c699af8cb0dada006470fe9cb4cb749585ff (patch)
tree57c612fee30483697cfac8873b7da319f9a94891 /cpp/src/Slice/PythonUtil.h
parentFixed ICE-7880 - renamed HeartbeatOnInvocation to HeartbeatOnDispatch (diff)
downloadice-b535c699af8cb0dada006470fe9cb4cb749585ff.tar.bz2
ice-b535c699af8cb0dada006470fe9cb4cb749585ff.tar.xz
ice-b535c699af8cb0dada006470fe9cb4cb749585ff.zip
ICE-7442 - reorganizing Python installation
Diffstat (limited to 'cpp/src/Slice/PythonUtil.h')
-rw-r--r--cpp/src/Slice/PythonUtil.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/Slice/PythonUtil.h b/cpp/src/Slice/PythonUtil.h
index 0b26d696e3b..d0967fce529 100644
--- a/cpp/src/Slice/PythonUtil.h
+++ b/cpp/src/Slice/PythonUtil.h
@@ -19,6 +19,17 @@ namespace Python
{
//
+// Get the package directory from metadata (if any).
+//
+std::string getPackageDirectory(const std::string&, const Slice::UnitPtr&);
+
+//
+// Determine the name of a Python source file for use in an import statement.
+// The return value does not include the .py extension.
+//
+std::string getImportFileName(const std::string&, const Slice::UnitPtr&, const std::vector<std::string>&);
+
+//
// Generate Python code for a translation unit.
//
void generate(const Slice::UnitPtr&, bool, bool, const std::vector<std::string>&, IceUtilInternal::Output&);