⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (646 Bytes)
Support #2201
» TimeUtil.h
Wim Dumon
, 09/16/2013 06:14 PM
// This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef TIMEUTIL_H_
#define TIMEUTIL_H_
#include
<Wt/WDllDefs.h>
struct
timeval
;
namespace
Wt
{
class
TimeImpl
;
class
WT_API
Time
{
public:
Time
();
// now
~
Time
();
// now
Time
(
const
Time
&
other
);
Time
operator
+
(
int
msec
)
const
;
Time
&
operator
+=
(
int
msec
);
Time
&
operator
=
(
const
Time
&
other
);
int
operator
-
(
const
Time
&
other
)
const
;
private:
// Pointer to avoid inclusion of windows header files in wt
class
TimeImpl
*
t_
;
};
}
#endif // TIMEUTIL_H_
« Previous
1
2
Next »
(2-2/2)
Loading...