Homepage: <http://handbrake.fr/>.\r
It may be used under the terms of the GNU General Public License. */\r
\r
-namespace Handbrake.Services\r
+namespace HandBrake.ApplicationServices.Services\r
{\r
using System;\r
using System.Diagnostics;\r
using System.Text;\r
using System.Threading;\r
using System.Windows.Forms;\r
- using Functions;\r
- using Model;\r
- using Properties;\r
+\r
+ using HandBrake.ApplicationServices.Functions;\r
+ using HandBrake.ApplicationServices.Model;\r
+ using HandBrake.ApplicationServices.Properties;\r
+\r
using Timer = System.Threading.Timer;\r
\r
/// <summary>\r
}\r
catch (Exception exc)\r
{\r
- MessageBox.Show(\r
- "It would appear that HandBrakeCLI has not started correctly. You should take a look at the Activity log as it may indicate the reason why.\n\nDetailed Error Information: error occured in runCli()\n\n" +\r
- exc,\r
- "Error",\r
- MessageBoxButtons.OK,\r
- MessageBoxIcon.Error);\r
+ Main.ShowExceptiowWindow("It would appear that HandBrakeCLI has not started correctly. You should take a look at the Activity log as it may indicate the reason why.\n\nDetailed Error Information: error occured in runCli()", exc.ToString());\r
}\r
}\r
\r
this.EncodeEnded(this, new EventArgs());\r
\r
// Growl\r
- if (Settings.Default.growlQueue)\r
+ if (Settings.Default.growlQueue)\r
GrowlCommunicator.Notify("Queue Completed", "Put down that cocktail...\nyour Handbrake queue is done.");\r
\r
// Do something whent he encode ends.\r
}\r
catch (Exception exc)\r
{\r
- MessageBox.Show(\r
- "Something went a bit wrong trying to copy your log file.\nError Information:\n\n" + exc,\r
- "Error",\r
- MessageBoxButtons.OK,\r
- MessageBoxIcon.Error);\r
+ Main.ShowExceptiowWindow("Unable to make a copy of the log file", exc.ToString());\r
}\r
}\r
\r