Mercurial > hg > svcore
annotate data/osc/OSCMessageCallback.h @ 1727:8efce64dd85e
Fix potential deadlock when notifying a handler that more models are [not] available
author | Chris Cannam |
---|---|
date | Thu, 20 Jun 2019 11:09:36 +0100 |
parents | f66ad018b729 |
children |
rev | line source |
---|---|
Chris@1664 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@1664 | 2 |
Chris@1664 | 3 /* |
Chris@1664 | 4 Sonic Visualiser |
Chris@1664 | 5 An audio file viewer and annotation editor. |
Chris@1664 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@1664 | 7 |
Chris@1664 | 8 This program is free software; you can redistribute it and/or |
Chris@1664 | 9 modify it under the terms of the GNU General Public License as |
Chris@1664 | 10 published by the Free Software Foundation; either version 2 of the |
Chris@1664 | 11 License, or (at your option) any later version. See the file |
Chris@1664 | 12 COPYING included with this distribution for more information. |
Chris@1664 | 13 */ |
Chris@1664 | 14 |
Chris@1664 | 15 #ifndef SV_OSC_MESSAGE_CALLBACK_H |
Chris@1664 | 16 #define SV_OSC_MESSAGE_CALLBACK_H |
Chris@1664 | 17 |
Chris@1664 | 18 class OSCMessage; |
Chris@1664 | 19 |
Chris@1664 | 20 class OSCMessageCallback { |
Chris@1664 | 21 public: |
Chris@1664 | 22 virtual void handleOSCMessage(const OSCMessage &) = 0; |
Chris@1664 | 23 }; |
Chris@1664 | 24 |
Chris@1664 | 25 #endif |