aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_file.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-09-01 13:51:13 -0700
committerGerald Combs <gerald@wireshark.org>2016-09-02 23:53:37 +0000
commit5846524f0ba9389e3f4f03546db21782c2d22183 (patch)
tree0a557804da07c086f5d4cd6422765d3814e06b5a /ui/qt/capture_file.h
parentdf3bf9ca796dc2474c55c87f0ff8cb4eab63d2f6 (diff)
Qt: Conversation time column updates.
Add a checkbox which lets you toggle between absolute and relative start times. Use the local time for now. Fixes bug 11618. Adjust our time precision based on the capture file's time precision. Fixes bug 12803. Update the User's Guide accordingly. Bug: 11618 Bug: 12803 Change-Id: I0049d6db6e4d0b6967bf35e6d056a61bfb4de10f Reviewed-on: https://code.wireshark.org/review/17448 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/capture_file.h')
-rw-r--r--ui/qt/capture_file.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/capture_file.h b/ui/qt/capture_file.h
index 033fa06efa..61487032c0 100644
--- a/ui/qt/capture_file.h
+++ b/ui/qt/capture_file.h
@@ -76,6 +76,12 @@ public:
*/
struct _packet_info *packetInfo();
+ /** Timestamp precision for the current file.
+ * @return One of the WTAP_TSPREC_x values defined in wiretap/wtap.h,
+ * or WTAP_TSPREC_UNKNOWN if no file is open.
+ */
+ int timestampPrecision();
+
/** Reload the capture file
*/
void reload();