initial import
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 7 Nov 2002 05:14:29 +0000 (05:14 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 7 Nov 2002 05:14:29 +0000 (05:14 +0000)
include/share/grabbag.h [new file with mode: 0644]

diff --git a/include/share/grabbag.h b/include/share/grabbag.h
new file mode 100644 (file)
index 0000000..d5733dc
--- /dev/null
@@ -0,0 +1,43 @@
+/* grabbag - Convenience lib for various routines common to several tools
+ * Copyright (C) 2002  Josh Coalson
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+
+#ifndef SHARE__GRABBAG_H
+#define SHARE__GRABBAG_H
+
+#if defined(FLAC__NO_DLL) || defined(unix) || defined(__CYGWIN__) || defined(__CYGWIN32__)
+#define GRABBAG_API
+
+#else
+
+#ifdef GRABBAG_API_EXPORTS
+#define        GRABBAG_API     _declspec(dllexport)
+#else
+#define GRABBAG_API    _declspec(dllimport)
+#define __LIBNAME__ "grabbag.lib"
+#pragma comment(lib, __LIBNAME__)
+#undef __LIBNAME__
+
+#endif
+#endif
+
+/* These can't be included by themselves, only from within grabbag.h */
+#include "grabbag/file.h"
+#include "grabbag/replaygain.h"
+#include "grabbag/seektable.h"
+
+#endif