Added sound manager; see issue #424; cmake and rebuild req.

This commit is contained in:
Oliver Duis
2010-12-20 16:18:12 +01:00
parent c3b99f5f48
commit 8ce5683f6c
9 changed files with 130 additions and 4 deletions

View File

@@ -296,6 +296,10 @@ if (keyFile.has_group ("Batch Processing")) {
if (keyFile.has_key ("Batch Processing", "AdjusterBehavior")) baBehav = keyFile.get_integer_list ("Batch Processing", "AdjusterBehavior");
}
if (keyFile.has_group ("Sounds")) {
if (keyFile.has_key ("Sounds", "BatchQueueDone")) sndBatchQueueDone = keyFile.get_string ("Sounds", "BatchQueueDone");
}
return 0;
}
@@ -424,6 +428,8 @@ int Options::saveToFile (Glib::ustring fname) {
Glib::ArrayHandle<int> bab = baBehav;
keyFile.set_integer_list ("Batch Processing", "AdjusterBehavior", bab);
keyFile.set_string ("Sounds", "BatchQueueDone", sndBatchQueueDone);
FILE *f = safe_g_fopen (fname, "wt");
if (f==NULL)