Forgotten source file for revision 743

This commit is contained in:
Thomas Schmitt 2007-02-23 19:33:56 +00:00
parent cf732feb08
commit 4d7e638af6
2 changed files with 13 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.02.23.191117" #define Cdrskin_timestamP "2007.02.23.193427"

View File

@ -50,6 +50,10 @@ static char abort_message_prefix[81] = {"libburn : "};
static pid_t abort_control_pid= 0; static pid_t abort_control_pid= 0;
/* ts A70223 : wether implemented untested profiles are supported */
int burn_support_untested_profiles = 0;
/* ts A60925 : ticket 74 */ /* ts A60925 : ticket 74 */
/** Create the messenger object for libburn. */ /** Create the messenger object for libburn. */
int burn_msgs_initialize(void) int burn_msgs_initialize(void)
@ -73,6 +77,7 @@ int burn_initialize(void)
if (burn_running) if (burn_running)
return 1; return 1;
burn_support_untested_profiles = 0;
ret = burn_msgs_initialize(); ret = burn_msgs_initialize();
if (ret <= 0) if (ret <= 0)
return 0; return 0;
@ -274,3 +279,10 @@ void burn_set_signal_handling(void *handle, burn_abort_handler_t handler,
Cleanup_set_handlers(handle, (Cleanup_app_handler_T) handler, mode|4); Cleanup_set_handlers(handle, (Cleanup_app_handler_T) handler, mode|4);
} }
/* ts A70223 : API */
void burn_allow_untested_profiles(int yes)
{
burn_support_untested_profiles = !!yes;
}