[chirp_devel] [PATCH] [RFC] Abstract Bank and BankModel to MemoryMapping and MappingModel

Tom Hayward
Wed Aug 24 16:18:17 PDT 2016


On Sat, Mar 30, 2013 at 2:15 PM, Dan Smith <dsmith at danplanet.com> wrote:
>
> > # HG changeset patch
> > # User Dan Smith <dsmith at danplanet.com>
> > # Date 1364678018 25200
> > # Node ID bf1c92a33bfd4c730dcc49095ff9a737b30c33c0
> > # Parent  ede5a4ccfd6efbaed4883c86d93be92509fde8da
> > [RFC] Abstract Bank and BankModel to MemoryMapping and MappingModel
>
> Tom, I think this should let you easily add your scan lists by adding a
> few teensy subclasses to bankedit and then a few lines to editorset.
> Let me know if anything is missing here. I can rename bankedit after
> you add non-bank stuff to it.

This isn't usable yet, is it? I'd like to add scan lists, as was the
original use case. I imagine an interface like:

    def get_bank_model(self):
        return [BankModel(self), ScanlistModel(self), GrouplistModel(self)]

I'm guessing the changes to bankedit and editorset to support this
were never made?

Tom KD7LXL



More information about the chirp_devel mailing list