X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffile.inc;h=8bcda4ebe6a454441b3f22829b8f725bedc0d190;hb=60f8df69db9ddd8148bfc41a17bb0955b52a45e6;hp=5f0b0df41d235130b1ca657ef9ddfe935f8976b2;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/file.inc b/cinelerra-5.1/cinelerra/file.inc index 5f0b0df4..8bcda4eb 100644 --- a/cinelerra-5.1/cinelerra/file.inc +++ b/cinelerra-5.1/cinelerra/file.inc @@ -2,26 +2,50 @@ /* * CINELERRA * Copyright (C) 2010 Adam Williams - * + * * 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 @@ -65,8 +89,10 @@ #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" @@ -168,6 +198,4 @@ class File; //result<0: continue skimming, result>=0: exit return code typedef int (*skim_fn)(void *vp, int track); -void get_exe_path(char *result); - #endif