diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-08-30 21:15:24 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-08-30 21:15:24 +0000 |
commit | 1d27c70838a8dd04dc302dc6c6527bb852b58cc5 (patch) | |
tree | 3940900b523269602e861776613d3568bb59f188 /epan/to_str.h | |
parent | 8445c81d50c9c49b61298eed974dbe9f0ed1826c (diff) |
Add an item tracer to the TCP stream graph. Enable packet selection.
QCustomPlot data sets are made up of keys (x axis by default) and values
(y axis). It looks like we can have multiple values for a given key
(i.e. we can show multiple sequence numbers for a given timestamp) but
QCPItemTracers can only be positioned by a key and not a key+value pair.
This makes our graph selection behavior a bit different compared to the
GTK+ version. We can only select one segment for a give timestamp but
our selection targets are much larger (the height of the graph).
Add a map for segment data so we don't have to iterate to find them. Use
UTF8_RIGHTWARDS_ARROW where appropriate. Set a window title. Tell the
user what will happen if he or she clicks. Disable graph selection.
svn path=/trunk/; revision=51604
Diffstat (limited to 'epan/to_str.h')
-rw-r--r-- | epan/to_str.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/to_str.h b/epan/to_str.h index 3e2f137ab9..f9a49a7096 100644 --- a/epan/to_str.h +++ b/epan/to_str.h @@ -39,6 +39,10 @@ #define VINES_ADDR_LEN 6 #define EUI64_STR_LEN 24 +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* * These are utility functions which convert various types to strings, * but for which no more specific module applies. @@ -103,4 +107,8 @@ WS_DLL_PUBLIC const char *decode_numeric_bitfield(const guint32 val, const guint WS_DLL_PUBLIC const gchar* port_type_to_str (port_type type); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __TO_STR_H__ */ |