~hmatuschek/+junk/qdmr-package

« back to all changes in this revision

Viewing changes to lib/rd5r.hh

  • Committer: Hannes Matuschek
  • Date: 2020-07-07 14:34:22 UTC
  • mto: (17.1.1 qdmr-package)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: hmatuschek@gmail.com-20200707143422-1djcxrjkem3k5kb1
Tags: upstream-0.3.0
ImportĀ upstreamĀ versionĀ 0.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
  CodePlug &codeplug();
55
55
 
56
56
public slots:
 
57
  /** Starts the download of the codeplug and derives the generic configuration from it. */
57
58
        bool startDownload(Config *config, bool blocking=false);
58
 
        bool startUpload(Config *config, bool blocking=false);
 
59
  /** Derives the device-specific codeplug from the generic configuration and uploads that
 
60
   * codeplug to the radio. */
 
61
  bool startUpload(Config *config, bool blocking=false, bool update=true);
59
62
 
60
63
protected:
61
64
  /** Main function running in a separate thread performing the up- and download to and from the
67
70
        QString _name;
68
71
  /** HID interface to the radio. */
69
72
        HID *_dev;
 
73
  /** If @c true, the codeplug gets updated otherwise overridden. */
 
74
  bool _codeplugUpdate;
70
75
  /** Current generic configuration. */
71
76
        Config *_config;
72
77
  /** Current device specific codeplug. */