/*
* CINELERRA
* Copyright (C) 2010 Adam Williams <broadcast at earthling dot net>
- *
+ *
* 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 FILE_INC
#define FILE_INC
+// Normally, these are sourced from the compiler command line
+// as: c++ -Dvar=value defines
+#ifndef CIN_CONFIG
+#define CIN_CONFIG "~/.bcast5"
+#endif
+#ifndef LOCALE_DIR
+#define LOCALE_DIR "$CIN_LIB/locale"
+#endif
+#ifndef CINDAT_DIR
+#define CINDAT_DIR "$CIN_PATH"
+#endif
+#ifndef CINLIB_DIR
+#define CINLIB_DIR "$CIN_PATH"
+#endif
+#ifndef PLUGIN_DIR
+#define PLUGIN_DIR "$CIN_LIB/plugins"
+#endif
+#ifndef LADSPA_DIR
+#define LADSPA_DIR "$CIN_LIB/ladspa"
+#endif
+#ifndef CIN_BROWSER
+#define CIN_BROWSER "firefox"
+#endif
+
#include "language.h"
// Return values for open_file
#define FILE_SND 11
#define FILE_TGA_LIST 13
#define FILE_TGA 14
-#define FILE_MPEG 15
+#define FILE_MPEG 15
#define FILE_AMPEG 16 // For encoding only
#define FILE_VMPEG 17 // For encoding only
#define FILE_RAWDV 18
#define FILE_GIF_LIST 36
#define FILE_DB 37
-// For formats supported by plugins, the format number is the plugin number in the
+// For formats supported by plugins, the format number is the plugin number in the
// plugin list ORed with 0x8000.
#if 0
//result<0: continue skimming, result>=0: exit return code
typedef int (*skim_fn)(void *vp, int track);
-void get_exe_path(char *result);
-
#endif