aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/ios_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ios_utils.h')
-rw-r--r--tools/ios_utils.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/ios_utils.h b/tools/ios_utils.h
new file mode 100644
index 0000000000..0287dc14ae
--- /dev/null
+++ b/tools/ios_utils.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2017 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef ios_util_DEFINED
+#define ios_util_DEFINED
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+ // cd into the current app's Documents/ directory.
+ // (This is the only directory we can easily read and write.)
+ void cd_Documents();
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif//ios_util_DEFINED