diff options
author | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2007-06-08 20:03:15 +0000 |
---|---|---|
committer | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2007-06-08 20:03:15 +0000 |
commit | cf05be16a48f7e649aa102baaaab576745cd12b5 (patch) | |
tree | 2f12bdaad9c561e88d193f688fb358548bd1fb05 /common/JackNotification.h | |
parent | 3da08bafa102eb3101c87f2b4bd9f04beb6cab5e (diff) | |
download | jack2-cf05be16a48f7e649aa102baaaab576745cd12b5.tar.gz |
New JackNotication.h header in preparation for callback checking in the server.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1490 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'common/JackNotification.h')
-rw-r--r-- | common/JackNotification.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/common/JackNotification.h b/common/JackNotification.h new file mode 100644 index 00000000..6cb0da2b --- /dev/null +++ b/common/JackNotification.h @@ -0,0 +1,43 @@ +/* +Copyright (C) 2007 Grame + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#ifndef __JackNotification__ +#define __JackNotification__ + +namespace Jack +{ + enum NotificationType { + kAddClient = 0, + kRemoveClient = 1, + kActivateClient = 2, + kXRunCallback = 3, + kGraphOrderCallback = 4, + kBufferSizeCallback = 5, + kStartFreewheel = 6, + kStopFreewheel = 7, + kPortRegistrationOn = 8, + kPortRegistrationOff = 9, + kZombifyClient = 10, + kDeadClient = 11, + kMaxNotification + }; + +} // end of namespace + +#endif |