Logo Search packages:      
Sourcecode: ardour version File versions  Download package

bool Glib::path_is_absolute ( const std::string &  filename  ) 

Returns true if the given filename is an absolute file name, i.e. it contains a full path from the root directory such as "/usr/local" on UNIX or "C:\\windows" on Windows systems.

Parameters:
filename A file name.
Returns:
Whether filename is an absolute path.

Definition at line 117 of file miscutils.cc.

{
  return g_path_is_absolute(filename.c_str());
}


Generated by  Doxygen 1.6.0   Back to index