summaryrefslogtreecommitdiff
path: root/lib/common/PathUtils.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-01-17 21:59:13 +0000
committerChris Wilson <chris+github@qwirx.com>2007-01-17 21:59:13 +0000
commit5035fdfe9be9ce82d3f6c6affa310e8763d7b102 (patch)
tree1fdc8af2ee79fc45c452767aa5a9c812fac4c7bc /lib/common/PathUtils.h
parent3dc6cc0f31914aecc0900583dff6c80b00987611 (diff)
Moved MakeFullPath into its own library file so that we can share it
(BackupQueries needs it too) (refs #3)
Diffstat (limited to 'lib/common/PathUtils.h')
-rw-r--r--lib/common/PathUtils.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/common/PathUtils.h b/lib/common/PathUtils.h
new file mode 100644
index 00000000..1cf2e507
--- /dev/null
+++ b/lib/common/PathUtils.h
@@ -0,0 +1,26 @@
+// --------------------------------------------------------------------------
+//
+// File
+// Name: PathUtils.h
+// Purpose: Platform-independent path manipulation
+// Created: 2007/01/17
+//
+// --------------------------------------------------------------------------
+
+#ifndef PATHUTILS_H
+#define PATHUTILS_H
+
+#include <string>
+
+// --------------------------------------------------------------------------
+//
+// Function
+// Name: MakeFullPath(const std::string& rDir, const std::string& rFile)
+// Purpose: Combine directory and file name
+// Created: 2006/08/10
+//
+// --------------------------------------------------------------------------
+
+std::string MakeFullPath(const std::string& rDir, const std::string& rEntry);
+
+#endif // !PATHUTILS_H