Added a bigger wxMMedia2 demonstration: wxMultimediaBoard: it is a sort
of light clone of the Windows Media Player. Early development, but it plays WAV/AIFF files and should work on Windows as soon as I build the makefiles. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
57
utils/wxMMedia2/board/mmboard.h
Normal file
57
utils/wxMMedia2/board/mmboard.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: mmboard.h
|
||||
// Purpose: Multimedia Board header
|
||||
// Author: Guilhem Lavaux, <guilhem.lavaux@libertysurf.fr>
|
||||
// Modified by:
|
||||
// Created: 13/02/2000
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2000, Guilhem Lavaux
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _MMBOARD_APP_H_
|
||||
#define _MMBOARD_APP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "mmboard.cpp"
|
||||
#endif
|
||||
|
||||
// for compilers that support precompilation, includes "wx/wx.h"
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
// for all others, include the necessary headers
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// constants
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
#define MM_SOUND_OSS 0x01
|
||||
#define MM_SOUND_ESD 0x02
|
||||
#define MM_SOUND_WIN 0x04
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Class definitions
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
// Define a new application type, each program should derive a class from wxApp
|
||||
class MMBoardApp : public wxApp
|
||||
{
|
||||
public:
|
||||
wxUint8 m_caps;
|
||||
|
||||
// override base class virtuals
|
||||
// ----------------------------
|
||||
|
||||
virtual bool OnInit();
|
||||
|
||||
wxUint8 TestMultimediaCaps();
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user