3 * centerim main() function
4 * $Id: centermain.cc,v 1.16 2002/07/07 22:58:18 konst Exp $
6 * Copyright (C) 2001 by Konstantin Klyagin <k@thekonst.net>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or (at
11 * your option) any later version.
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
28 #include "icqcontacts.h"
30 #include "icqgroups.h"
50 int main(int argc
, char **argv
) {
53 getcwd(savedir
, 1024);
56 srand((unsigned int) time(NULL
));
59 setlocale(LC_ALL
, "");
60 bindtextdomain(PACKAGE
, LOCALEDIR
);
64 conf
.commandline(argc
, argv
);
71 } catch(exception e
) {
72 cerr
<< "Caught exception: " << e
.what() << endl
;