awindowgui / mwindowedit / label rework
[goodguy/history.git] / cinelerra-5.1 / cinelerra / file.h
index 5231a9b3bfefad2b2dba400693490bc900f104ea..5378a76f7d0df0ab3edf1c80c58965a2e0077ae2 100644 (file)
@@ -58,6 +58,7 @@ public:
        File();
        ~File();
 
+       int probe();
 // Get attributes for various file formats.
 // The dither parameter is carried over from recording, where dither is done at the device.
        int get_options(FormatTools *format,
@@ -313,6 +314,28 @@ public:
        int wr, rd;
        static PackagingEngine *new_packaging_engine(Asset *asset);
 
+       static void init_cin_path();
+       static void get_exe_path(char *result, char *bnp=0);
+       static void getenv_path(char *result, const char *path);
+       static void setenv_path(char *result, const char *var, const char *path);
+       static char cinexe_path[BCTEXTLEN], cinpkg_path[BCTEXTLEN];
+       static char cindat_path[BCTEXTLEN], cinlib_path[BCTEXTLEN];
+       static char cincfg_path[BCTEXTLEN], cinplg_path[BCTEXTLEN];
+       static char cinlad_path[BCTEXTLEN], cinlcl_path[BCTEXTLEN];
+       static char cinbwr_path[BCTEXTLEN];
+       static const char *get_cin() { return getenv("CIN_PKG"); }
+       static const char *get_cin_path() { return getenv("CIN_PATH"); }
+       static const char *get_cindat_path() { return getenv("CIN_DAT"); }
+       static const char *get_cinlib_path() { return getenv("CIN_LIB"); }
+       static const char *get_config_path() { return getenv("CIN_CONFIG"); }
+       static const char *get_plugin_path() { return getenv("CIN_PLUGIN"); }
+       static const char *get_ladspa_path() { return getenv("CIN_LADSPA"); }
+       static const char *get_locale_path() { return getenv("CIN_LOCALE"); }
+       static const char *get_browser_path() { return getenv("CIN_BROWSER"); }
+
+       static const char *default_probes[];
+       static const int nb_probes;
+
 private:
        void reset_parameters();