XFuXMPlayerEventHandler.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# XFuXMPlayerEventHandler.h

Go to the documentation of this file.

    00001 /*! \file
    00002  * X-Forge Util <br>
    00003  * Copyright 2000-2003 Fathammer Ltd
    00004  *
    00005  * \brief XM player event handler
    00006  *
    00007  * $Id: XFuXMPlayerEventHandler.h,v 1.6 2003/08/12 13:33:52 lars Exp $
    00008  * $Date: 2003/08/12 13:33:52 $
    00009  * $Revision: 1.6 $
    00010  */
    00011
    00012 #ifndef XFUXMPLAYEREVENTHANDLER_H_INCLUDED
    00013 #define XFUXMPLAYEREVENTHANDLER_H_INCLUDED
    00014
    00015
    00016
    00017 class XFuXMPlayer;
    00018
    00019
    00020 class XFuXMPlayerEvent
    00021 {
    00022 public:
    00023     XFuXMPlayerEvent()
    00024     {
    00025         mNote = mInstrumentNb = mVolume = mEffectType = mEffectValue = -1;
    00026         mPlayer = NULL;
    00027     }
    00028
    00029     INT16 mNote;
    00030     INT16 mInstrumentNb;
    00031     INT16 mVolume;
    00032     INT16 mEffectType;
    00033     INT16 mEffectValue;
    00034
    00035     XFuXMPlayer *mPlayer;
    00036 };
    00037
    00038
    00039 class XFuXMPlayerEventHandler
    00040 {
    00041 public:
    00042     virtual void handleXMPlayerEvent(XFuXMPlayerEvent aEvent) = 0;
    00043 };
    00044
    00045
    00046 #endif  // !XFUXMPLAYEREVENTHANDLER_H_INCLUDED
    00047

|  | X-Forge Documentation Confidential Copyright © 2002-2003 Fathammer |  | Documentation generated with doxygen by Dimitri van Heesch