diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-08-12 20:37:20 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-08-18 15:15:51 +0200 |
commit | 5513570bf9b58392659c33aea37abc4807f59cb2 (patch) | |
tree | 149a173e03f3a5bb277b874c5b8440c80e230f19 /tools | |
parent | 28d84e1b04a1936901695d9ecb8c5c8ee8f3c874 (diff) |
add a warning to Time class that it is broken API
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/time.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/inc/tools/time.hxx b/tools/inc/tools/time.hxx index 9b2534013af6..ff6a7c97b9a7 100644 --- a/tools/inc/tools/time.hxx +++ b/tools/inc/tools/time.hxx @@ -37,6 +37,12 @@ class ResId; // - Time - // -------- +/** + WARNING: This class can serve both as call clock time and time duration, and the mixing + of these concepts leads to problems such as there being 25 hours + or 10 minus 20 seconds being (non-negative) 10 seconds. +*/ + class TOOLS_DLLPUBLIC Time { private: |