StelFileMgr.hpp   StelFileMgr.hpp 
skipping to change at line 47 skipping to change at line 47
//! The concept is that the StelFileMgr will be asked for a named path, and it //! The concept is that the StelFileMgr will be asked for a named path, and it
//! will try to locate that path within each of the search directories. //! will try to locate that path within each of the search directories.
//! @author Lippo Huhtala <lippo.huhtala@meridea.com> //! @author Lippo Huhtala <lippo.huhtala@meridea.com>
//! @author Matthew Gates <matthewg42@gmail.com> //! @author Matthew Gates <matthewg42@gmail.com>
//! @sa @ref fileStructure description. //! @sa @ref fileStructure description.
class StelFileMgr class StelFileMgr
{ {
public: public:
//! @enum Flags used as named bitfield flags as specifiers to filter results of StelFileMgr methods. //! @enum Flags used as named bitfield flags as specifiers to filter results of StelFileMgr methods.
enum Flags { enum Flags {
RemovableMedia = 0x00000001, //!< Search on removable media RemovableMedia = 0x00000001, //!< Search on removable med
if present (default is not to). ia if present (default is not to).
Writable = 0x00000002, //!< Only return writable path Writable = 0x00000002, //!< Only return writable pa
s. For directories this means ths. For directories this means
// //!< that it is possible to
!< that it is possible to create files within the directory. create files within the directory.
Directory = 0x00000004, //!< Exclude non-directories. Directory = 0x00000004, //!< Exclude non-directories
File = 0x00000008, //!< Exclude non-files. .
New = 0x00000010 //!< Exclude existing paths. File = 0x00000008, //!< Exclude non-files.
New = 0x00000010 //!< Exclude existing paths.
}; };
//! Initialize the directories. //! Initialize the directories.
//! By default, StelFileMgr will be created with the Stellarium inst allation directory //! By default, StelFileMgr will be created with the Stellarium inst allation directory
//! config_root in the search path. On systems which provide a per-u ser data/settings //! config_root in the search path. On systems which provide a per-u ser data/settings
//! directory (which we call the user_settings directory, this is al so included in //! directory (which we call the user_settings directory, this is al so included in
//! the search path, before the \<config_root> directory. //! the search path, before the \<config_root> directory.
static void init(); static void init();
//! Search for a path within the search paths, for example "textures /fog.png". //! Search for a path within the search paths, for example "textures /fog.png".
 End of changes. 1 change blocks. 
9 lines changed or deleted 10 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/