rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git] / cinelerra-5.1 / cinelerra / file.inc
index cf3ab76b16118a817ba3f69c1ce4fb59b7a3fa89..8bcda4ebe6a454441b3f22829b8f725bedc0d190 100644 (file)
@@ -2,26 +2,50 @@
 /*
  * 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
@@ -47,7 +71,7 @@
 #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_CR2_LIST           35
 #define FILE_GIF_LIST          36
 #define FILE_DB                 37
+#define FILE_PPM                38
+#define FILE_PPM_LIST           39
 
-// 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
@@ -90,6 +116,8 @@ N_("OGG Theora/Vorbis")
 N_("OGG Vorbis")    // For decoding only
 N_("PNG")
 N_("PNG Sequence")
+N_("PPM")
+N_("PPM Sequence")
 N_("Raw DV")
 N_("Raw PCM")
 N_("Sun/NeXT AU")
@@ -122,6 +150,8 @@ N_("Unknown sound")
 #define PCM_NAME               "Raw PCM"
 #define PNG_LIST_NAME          "PNG Sequence"
 #define PNG_NAME               "PNG"
+#define PPM_LIST_NAME          "PPM Sequence"
+#define PPM_NAME               "PPM"
 #define RAWDV_NAME             "Raw DV"
 #define SCENE_NAME             "Text To Movie"
 #define SND_NAME               "Unknown sound"