Wireshark-dev: Re: [Wireshark-dev] Qt: Convert ProtoTree from QTreeWidget to Model/View

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 9 Mar 2015 14:39:20 -0700
On Mar 9, 2015, at 1:32 PM, Peter Wu <peter@xxxxxxxxxxxxx> wrote:

> As far as I know, you can only have one open capture file. Correct me if
> I am wrong.

That's currently the case, but let's not wire that assumption in; a "proper" OS X app would use one UI process for all open files.  (We might implement that by moving packet dissection to separate processes, one process for each open file, so that we don't have to make per-file private data; we might also, at least on some platforms, be able to sandbox the dissection processes, so that, for example, any file opening they do must be done for them by the main process, which would only allow opening selected files, such as files in the preferences directory.)