annotate main/NetworkPermissionTester.h @ 1794:2f828631c9be

Update pane and layer menu shortcuts so that the waveform/spectrogram/etc shortcuts (Shift+G etc) always refer to the source model that is in the currently selected pane. This is a potentially confusing backward-incompatible change, but is also quite clearly how it ought to work...
author Chris Cannam
date Thu, 26 Apr 2018 15:09:52 +0100
parents 3f6c18fcc075
children
rev   line source
Chris@663 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@663 2
Chris@663 3 /*
Chris@663 4 Sonic Visualiser
Chris@663 5 An audio file viewer and annotation editor.
Chris@663 6 Centre for Digital Music, Queen Mary, University of London.
Chris@663 7
Chris@663 8 This program is free software; you can redistribute it and/or
Chris@663 9 modify it under the terms of the GNU General Public License as
Chris@663 10 published by the Free Software Foundation; either version 2 of the
Chris@663 11 License, or (at your option) any later version. See the file
Chris@663 12 COPYING included with this distribution for more information.
Chris@663 13 */
Chris@663 14
Chris@663 15 #ifndef NETWORK_PERMISSION_TESTER_H
Chris@663 16 #define NETWORK_PERMISSION_TESTER_H
Chris@663 17
Chris@663 18 class NetworkPermissionTester
Chris@663 19 {
Chris@663 20 public:
Chris@1613 21 NetworkPermissionTester(bool withOSCSupport) : m_withOSC(withOSCSupport) { }
Chris@663 22 bool havePermission();
Chris@1613 23
Chris@1613 24 private:
Chris@1613 25 bool m_withOSC;
Chris@663 26 };
Chris@663 27
Chris@663 28 #endif
Chris@663 29
Chris@663 30