projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated i18n sample, french translations are now in the "fr" subdirectory.
[wxWidgets.git]
/
include
/
wx
/
msw
/
wave.h
diff --git
a/include/wx/msw/wave.h
b/include/wx/msw/wave.h
index 344fc7ced52019217fd29b97420fd08c88d2fd60..953a01bfcd75f889e7eeb3af0cde7c7555c0427a 100644
(file)
--- a/
include/wx/msw/wave.h
+++ b/
include/wx/msw/wave.h
@@
-5,12
+5,12
@@
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart
and Markus Holzem
-// Licence: wxWindows licen
s
e
+// Copyright: (c) Julian Smart
+// Licence: wxWindows licen
c
e
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-#ifndef _
_WAVEH_
_
-#define _
_WAVEH_
_
+#ifndef _
WX_WAVE_H
_
+#define _
WX_WAVE_H
_
#ifdef __GNUG__
#pragma interface "wave.h"
#ifdef __GNUG__
#pragma interface "wave.h"
@@
-18,15
+18,20
@@
#include "wx/object.h"
#include "wx/object.h"
-class wxWave : public wxObject
+class
WXDLLEXPORT
wxWave : public wxObject
{
public:
wxWave();
wxWave(const wxString& fileName, bool isResource = FALSE);
{
public:
wxWave();
wxWave(const wxString& fileName, bool isResource = FALSE);
+ wxWave(int size, const byte* data);
~wxWave();
public:
~wxWave();
public:
+ // Create from resource or file
bool Create(const wxString& fileName, bool isResource = FALSE);
bool Create(const wxString& fileName, bool isResource = FALSE);
+ // Create from data
+ bool Create(int size, const byte* data);
+
bool IsOk() const { return (m_waveData ? TRUE : FALSE); };
bool Play(bool async = TRUE, bool looped = FALSE) const;
bool IsOk() const { return (m_waveData ? TRUE : FALSE); };
bool Play(bool async = TRUE, bool looped = FALSE) const;