williamr@2: // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2: // All rights reserved.
williamr@2: // This component and the accompanying materials are made available
williamr@4: // under the terms of "Eclipse Public License v1.0"
williamr@2: // which accompanies this distribution, and is available
williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@2: //
williamr@2: // Initial Contributors:
williamr@2: // Nokia Corporation - initial contribution.
williamr@2: //
williamr@2: // Contributors:
williamr@2: //
williamr@2: // Description:
williamr@2: // Mmf\Common\MmfMidi.h
williamr@2: // 
williamr@2: //
williamr@2: 
williamr@2: #ifndef __MMF_COMMON_MMFMIDI_H__
williamr@2: #define __MMF_COMMON_MMFMIDI_H__
williamr@2: 
williamr@2: // Standard EPOC32 includes
williamr@2: #include <e32base.h>
williamr@2: 
williamr@2: // Public Media Server includes
williamr@2: #include <mmf/common/mmfbase.h>
williamr@2: #include <mmf/common/mmfutilities.h>
williamr@2: 
williamr@2: #include <midiclientutility.h>
williamr@2: 
williamr@4: #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
williamr@4: #include <mmf/common/mmfmidiconfig.h>
williamr@4: #endif
williamr@4: 
williamr@2: /**
williamr@2: MIDI event usued by a MIDI controller to signal to a 
williamr@2: client that a MIDI source open request has completed.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMidiOpenDataSourceComplete = {0x101F8F85};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a 
williamr@2: client that play of a MIDI resource has commenced.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMidiPlaying = {0x101F8F86};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to 
williamr@2: a client that play of a MIDI resource has commenced 
williamr@2: but not all SP-MIDI requirements can be met.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMidiPlaybackIncompatible = {0x101F8F87};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that play
williamr@2: of a MIDI resource has commenced but due to system resource constraints
williamr@2: and SP-MIDI content constraints, there is no audible MIDI content
williamr@2: during playback.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMidiPlaybackSilent = {0x101F8F88};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to
williamr@2: a client that play of a MIDI resource has completed.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMidiPlayingComplete = {0x101F8F89};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to
williamr@2: a client a sync update event. The frequency of this event is
williamr@2: set by the client with SetSyncUpdateCallbackIntervalL.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMidiSyncUpdate = {0x101F8F8A};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to
williamr@2: a client that any currently opened resources have been closed.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMidiClose = {0x101F8F8B};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that the 
williamr@2: MIDI controller has been primed and it's ready to play.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMidiPrime = {0x101F8F8C};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that the MIDI
williamr@2: resource has encountered a tempo change message in the MIDI data stream.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryTempoChanged = {0x101F8F8D};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that the MIDI
williamr@2: resource has encountered a volume change message in the MIDI data stream.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryVolumeChanged = {0x101F8F8E};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that the 
williamr@2: MIDI resource has encountered a mute message in the MIDI data stream.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMuteChanged = {0x101F8F8F};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that the polyphony
williamr@2: of the MIDI engine has changed.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryPolyphonyChanged = {0x101F8F90};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that
williamr@2: an instrument has been changed on a channel.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryInstrumentChanged = {0x101F8F91};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that a timed
williamr@2: meta data entry has been found in the MIDI data stream.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMetaDataEntryFound  = {0x101F8F92};
williamr@2: 
williamr@2: /**
williamr@2: MIDI event used by a MIDI controller to signal to a client that a 
williamr@2: MIP message has been found in the MIDI data stream.
williamr@2: 
williamr@2: @publishedAll
williamr@2: @released
williamr@2: */
williamr@2: const TUid KMMFEventCategoryMipMessageReceived  = {0x101F8F93};
williamr@2: 
williamr@2: #endif