瀏覽代碼

Fix compile issue, and add plugin_common_composite

rdb 16 年之前
父節點
當前提交
c67c5a4c14
共有 2 個文件被更改,包括 4 次插入22 次删除
  1. 0 22
      direct/src/plugin/mkdir_complete.cxx
  2. 4 0
      direct/src/plugin/plugin_common_composite1.cxx

+ 0 - 22
direct/src/plugin/mkdir_complete.cxx

@@ -23,26 +23,6 @@
 #endif
 #endif
 
 
 
 
-
-////////////////////////////////////////////////////////////////////
-//     Function: is_pathsep
-//  Description: Returns true if the indicated character is a path
-//               separator character (e.g. slash or backslash), false
-//               otherwise.
-////////////////////////////////////////////////////////////////////
-static inline bool
-is_pathsep(char ch) {
-  if (ch == '/') {
-    return true;
-  }
-#ifdef _WIN32
-  if (ch == '\\') {
-    return true;
-  }
-#endif
-  return false;
-}
-
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: get_dirname
 //     Function: get_dirname
 //  Description: Returns the directory component of the indicated
 //  Description: Returns the directory component of the indicated
@@ -62,8 +42,6 @@ get_dirname(const string &filename) {
   return string();
   return string();
 }
 }
 
 
-
-
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: mkdir_complete
 //     Function: mkdir_complete
 //  Description: Creates a new directory, with normal access
 //  Description: Creates a new directory, with normal access

+ 4 - 0
direct/src/plugin/plugin_common_composite1.cxx

@@ -0,0 +1,4 @@
+#include "load_plugin.cxx"
+#include "fileSpec.cxx"
+#include "find_root_dir.cxx"
+#include "mkdir_complete.cxx"