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

Glib::Dir::Dir ( const std::string &  path  )  [explicit]

Opens a directory for reading. The names of the files in the directory can then be retrieved using read_name().

Parameters:
path The path to the directory you are interested in.
Exceptions:
Glib::FileError 

Definition at line 37 of file fileutils.cc.

{
  GError* error = 0;
  gobject_ = g_dir_open(path.c_str(), 0, &error);

  if(error)
    Glib::Error::throw_exception(error);
}


Generated by  Doxygen 1.6.0   Back to index