4:ec5387e121fa | 5:146825d63b9a |
---|---|
35 #else | 35 #else |
36 # define DIRSLASH "\\" | 36 # define DIRSLASH "\\" |
37 #endif | 37 #endif |
38 | 38 |
39 // ------------------------------------------------------------------------------------------------- | 39 // ------------------------------------------------------------------------------------------------- |
40 | 40 // |
41 FUNCTION | 41 FUNCTION |
42 dirname (String const& path) -> String | 42 dirname (String const& path) -> String |
43 { | 43 { |
44 int lastpos = path.find_last (DIRSLASH); | 44 int lastpos = path.find_last (DIRSLASH); |
45 | 45 |
53 | 53 |
54 return ""; | 54 return ""; |
55 } | 55 } |
56 | 56 |
57 // ------------------------------------------------------------------------------------------------- | 57 // ------------------------------------------------------------------------------------------------- |
58 | 58 // |
59 FUNCTION | 59 FUNCTION |
60 basename (String const& path) -> String | 60 basename (String const& path) -> String |
61 { | 61 { |
62 long lastpos = path.find_last (DIRSLASH); | 62 long lastpos = path.find_last (DIRSLASH); |
63 | 63 |