~kklimonda/ubuntu/natty/glibmm2.4/update

« back to all changes in this revision

Viewing changes to gio/giomm/fileinfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Deng Xiyue
  • Date: 2008-10-21 22:29:45 UTC
  • mfrom: (1.2.32 upstream)
  • Revision ID: james.westby@ubuntu.com-20081021222945-14plcglhrbjbz3c2
Tags: 2.18.1-1
* New upstream stable release.
* Use POSIX standard regex classes in sed trick in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
namespace Gio
44
44
{
45
45
 
 
46
// Rename FILE_TYPE_UNKNOWN to FILE_TYPE_NOT_KNOWN because the former is a
 
47
// define in a Windows header (winbase.h, included from windows.h).
46
48
/** @addtogroup giommEnums Enums and Flags */
47
49
 
48
50
/**
50
52
 */
51
53
enum FileType
52
54
{
53
 
  FILE_TYPE_UNKNOWN,
 
55
  FILE_TYPE_NOT_KNOWN,
54
56
  FILE_TYPE_REGULAR,
55
57
  FILE_TYPE_DIRECTORY,
56
58
  FILE_TYPE_SYMBOLIC_LINK,
60
62
};
61
63
 
62
64
 
 
65
// Provide FILE_TYPE_UNKNOWN for backwards compatibility.
 
66
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
67
#ifndef FILE_TYPE_UNKNOWN
 
68
const FileType FILE_TYPE_UNKNOWN = FILE_TYPE_NOT_KNOWN;
 
69
#endif
 
70
#endif
 
71
 
63
72
//TODO: attribute strings
64
73
 
65
74
/** FileAttributeMatcher allows for searching through a FileInfo for attributes.