midi_obj.h

Go to the documentation of this file.
00001 /*
00002  * midi_obj.h
00003  *
00004  * Copyright 2002 Thomas A. Vaughan
00005  * All rights reserved.
00006  *
00007  * Declaration of a midi object for use in the multimedia framework.
00008  */
00009 
00010 #ifndef __MEDIA_MIDI_OBJ_H__
00011 #define __MEDIA_MIDI_OBJ_H__
00012 
00013 
00014 // includes --------------------------------------------------------------------
00015 #include "objdir/objdir.h"      // distributed object directory
00016 #include "threadsafe/smart_ptr.h"
00017 
00018 
00019 // namespace
00020 namespace media
00021 {
00022 
00023 
00024 /*
00025  * MidiObject factory method.
00026  *
00027  * The only interface to a midi object is the objdir::LocalObject.  You
00028  * interact with a midi object by sending messages to it through the directory.
00029  */
00030 error_t CreateMidiObject(OUT smart_ptr<objdir::LocalObject>& midi) throw();
00031 
00032 
00033 };      // end of media namespace
00034 
00035 
00036 
00037 #endif  // __MEDIA_MIDI_OBJ_H__