GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer Tools update contain a bug concerning #pragma interface handling that can only be worked around by not using them (and they are not necessary anyways) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| // ---------------------------------------------------------------------------
 | |
| // Name:       cdunix.h
 | |
| // Purpose:    wxMMedia
 | |
| // Author:     Guilhem Lavaux
 | |
| // Created:    1997
 | |
| // Updated:    2000
 | |
| // Copyright:  (C) 1997, 1998, 1999, 2000 Guilhem Lavaux
 | |
| // License:    wxWindows license
 | |
| // ---------------------------------------------------------------------------
 | |
| #ifndef __CDUNIXH__
 | |
| #define __CDUNIXH__
 | |
| 
 | |
| #if defined(__GNUG__) && !defined(__APPLE__)
 | |
| #pragma interface "cdunix.h"
 | |
| #endif
 | |
| 
 | |
| #include "wx/defs.h"
 | |
| #include "wx/object.h"
 | |
| #include "wx/string.h"
 | |
| #include "wx/mmedia/cdbase.h"
 | |
| 
 | |
| ///
 | |
| class WXDLLEXPORT wxCDAudioLinux : public wxCDAudio {
 | |
|   DECLARE_DYNAMIC_CLASS(wxCDAudioLinux)
 | |
| protected:
 | |
|   wxCDtime m_time;
 | |
|   CDstatus m_status;
 | |
|   CDtoc *m_toc;
 | |
|   int m_fd;
 | |
|   wxCDtime *m_trksize, *m_trkpos;
 | |
| public:
 | |
|   ///
 | |
|   wxCDAudioLinux();
 | |
|   ///
 | |
|   wxCDAudioLinux(const wxString& dev_name);
 | |
|   ///
 | |
|   virtual ~wxCDAudioLinux();
 | |
| 
 | |
|   ///
 | |
|   virtual bool Play(const wxCDtime& beg_time, const wxCDtime& end_time);
 | |
|   ///
 | |
|   virtual bool Pause();
 | |
|   ///
 | |
|   virtual bool Resume();
 | |
|   ///
 | |
|   virtual CDstatus GetStatus();
 | |
|   ///
 | |
|   virtual wxCDtime GetTime();
 | |
|   ///
 | |
|   virtual CDtoc& GetToc();
 | |
|   ///
 | |
|   virtual inline bool Ok() const { return (m_fd != -1); }
 | |
| protected:
 | |
|   ///
 | |
|   void OpenDevice(const wxString& dev_name);
 | |
| };
 | |
| 
 | |
| #endif
 |