source: box/trunk/lib/common/FileModificationTime.h @ 3063

Revision 3063, 632 bytes checked in by chris, 4 months ago (diff)

File modification time helper functions don't need to modify their arguments, so make them const.

  • Property svn:eol-style set to native
Line 
1// --------------------------------------------------------------------------
2//
3// File
4//              Name:    FileModificationTime.h
5//              Purpose: Function for getting file modification time.
6//              Created: 2003/08/28
7//
8// --------------------------------------------------------------------------
9
10#ifndef FILEMODIFICATIONTIME__H
11#define FILEMODIFICATIONTIME__H
12
13#include <sys/stat.h>
14
15#include "BoxTime.h"
16
17box_time_t FileModificationTime(const EMU_STRUCT_STAT &st);
18box_time_t FileAttrModificationTime(const EMU_STRUCT_STAT &st);
19box_time_t FileModificationTimeMaxModAndAttr(const EMU_STRUCT_STAT &st);
20
21#endif // FILEMODIFICATIONTIME__H
22
Note: See TracBrowser for help on using the repository browser.