~nitrokey/nitrokey/release

« back to all changes in this revision

Viewing changes to src/device.h

  • Committer: GitHub
  • Author(s): szszszsz
  • Date: 2016-10-07 15:30:17 UTC
  • mfrom: (337.1.15)
  • Revision ID: git-v1:2ce3a0ee79918767e776a4d629a783dbc166dc5d
Merge pull request #169 from Nitrokey/156-abort_when_not_init

Abort sending command to uninitialized device. Show warnings to user. Block opening any window in 'blocked' state. Update retry counters before opening About dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
  int TOTP_SlotCount;
396
396
 
397
397
  bool is_nkpro_rtm1();
 
398
  bool isInitialized() const;
398
399
 
399
400
private:
400
401
  int vid;
405
406
 
406
407
  int vidStick20UpdateMode;
407
408
  int pidStick20UpdateMode;
 
409
  bool needsReconnect;
408
410
};
409
411
 
410
412
#endif // DEVICE_H