#ifndef __DEMOTUNE

#define __DEMOTUNE

class SM_DemoTune
{
public:              
  enum eFlags
  {
    E_MP3     =1,
    E_TRACK   =2,
    E_PLAYING =16,
  };

  SM_DemoTune         (char const* pcName);
  ~SM_DemoTune        ();

  int                 m_iLength;
  SM_DemoTune*        m_pNextTune;    // No tocar!. Se usa para las autoenumeraciones
  char*               m_pcBuffer; 
  char const*         m_pcInstanceName; 


  int                 Load(char* pcFilename);
  int                 Free();

  int                 m_Flags;
  static SM_DemoTune* TuneInstances;
};



#endif
