mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Allow address/port retrieval from View.
This commit is contained in:
parent
f945278959
commit
d25614d50f
@ -81,6 +81,9 @@ public:
|
||||
void NotifyRootWindowSize( float w, float h ) { m_rootWidth = w; m_rootHeight = h; }
|
||||
void SetTextEditorFile( const char* fileName, int line );
|
||||
|
||||
std::string GetAddress() const { return m_worker.GetAddr(); }
|
||||
int GetPort() const { return m_worker.GetPort(); }
|
||||
|
||||
private:
|
||||
enum class Namespace : uint8_t
|
||||
{
|
||||
|
@ -337,6 +337,7 @@ public:
|
||||
~Worker();
|
||||
|
||||
const std::string& GetAddr() const { return m_addr; }
|
||||
int GetPort() const { return m_port; }
|
||||
const std::string& GetCaptureName() const { return m_captureName; }
|
||||
const std::string& GetCaptureProgram() const { return m_captureProgram; }
|
||||
uint64_t GetCaptureTime() const { return m_captureTime; }
|
||||
|
Loading…
Reference in New Issue
Block a user