/* * Strawberry.h last updated by David Parker <david@neongoat.com> * $Id: Strawberry.h,v 1.6 2000/02/08 03:07:29 dap24 Exp $ * * Strawberry Library - A class for MPEG header extraction and ID3 tag manipulation * Copyright (C) 1999-2000 David Parker, Neon Goat Productions. All rights reserved. * http://www.neongoat.com - david@neongoat.com * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ // Strawberry.h: interface for the Strawberry class. // #if !defined(AFX_STRAWBERRY_H__806D7662_1AB0_11D3_B3F8_00A0CC3D7E01__INCLUDED_) #define AFX_STRAWBERRY_H__806D7662_1AB0_11D3_B3F8_00A0CC3D7E01__INCLUDED_ #include "strawberry_mpegheader.h" // Added by ClassView #include "strawberry_id3tag.h" // Added by ClassView #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #pragma warning( disable:4800 ) #pragma warning( disable:4244 ) #define VERSION "1.0.0" class Strawberry { public: Strawberry(); ~Strawberry(); void AboutBoxVersion(); CString GetVersionInfo(); bool ExtractInfo(const CString &filename); CString GenerateMPEGReport(); CString GenerateID3Report(); CString GenerateReport(); SB_ID3Tag ID3Tag; SB_MPEGHeader MPEGHeader; bool IsMP3Loaded() {return m_isMP3Loaded;}; bool IsID3TagLoaded() {return m_isID3TagLoaded;}; bool IsMPEGHeaderLoaded() {return m_isMPEGHeaderLoaded;}; protected: CFile * m_openfile; CString m_filename; void EraseAllFields(); bool m_isMP3Loaded; bool m_isID3TagLoaded; bool m_isMPEGHeaderLoaded; /************************************** BEGIN DOXYGEN DOCUMENTATION COMMENTS **************************************/ }; #endif // !defined(AFX_STRAWBERRY_H__806D7662_1AB0_11D3_B3F8_00A0CC3D7E01__INCLUDED_)