MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / string> LoadDroppedFiles

Method string> LoadDroppedFiles

include/Functions.hpp:181–189  ·  view source on GitHub ↗

* Get dropped files names */

Source from the content-addressed store, hash-verified

179 * Get dropped files names
180 */
181RLCPP_MAYBEUNUSED RLCPPAPI std::vector<std::string> LoadDroppedFiles() {
182 if (!::IsFileDropped()) {
183 return std::vector<std::string>();
184 }
185 FilePathList files = ::LoadDroppedFiles();
186 std::vector<std::string> output(files.paths, files.paths + files.count);
187 ::UnloadDroppedFiles(files);
188 return output;
189}
190
191/**
192 * Get file modification time (last write time)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected