Mercurial > hg > svcore
annotate data/osc/OSCMessageCallback.h @ 1700:c1208b211d8c single-point
Ensure test fails rather than crashing if this reader doesn't get created
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 03 May 2019 15:02:09 +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 |