X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fremote%2Fremote.cpp;h=dbcb7e4a166de4f252658dc0aad7931b3360d7c0;hb=df88ff837468c32986c73740b4fc8279bc152e47;hp=21689867a8f58c02a908537e919e883b30bfc123;hpb=fadc35133b1ebbd98af948c1fa529dcde6fddcfd;p=r2c2.git diff --git a/source/remote/remote.cpp b/source/remote/remote.cpp index 2168986..dbcb7e4 100644 --- a/source/remote/remote.cpp +++ b/source/remote/remote.cpp @@ -1,12 +1,6 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include +#include #include #include #include "mainpanel.h" @@ -16,14 +10,12 @@ Distributed under the GPL using namespace std; using namespace Msp; -Application::RegApp Remote::reg; - Remote::Remote(int argc, char **argv): client(catalogue), gtk(argc, argv) { if(argc<2) - throw UsageError("No address given"); + throw usage_error("No address given"); DataFile::load(catalogue, "locos.dat");