DirectoryHandle::visit full path



Hi,

In call to DirectoryHandle::visit, is there any way to get the full
path of the files/dirs being visited in the handler function. e.g.

bool on_visit(const Glib::ustring& rel_path, const Glib::RefPtr<const
Gnome::Vfs::FileInfo>& info, bool recursing_will_loop, bool& recurse)
{
    // how can i get the full path of the file/dir visited?
    // ...
}

Gnome::Vfs::DirectoryHandle::visit(uri, fileInfoOptions,
dirVisitOptions, sigc::ptr_fun(on_visit));

Thanks in advance,
Ram



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]