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
25 #include <sys/types.h>
31 #include "icqcontacts.h"
33 #include "icqgroups.h"
40 icqconf
* conf
=icqconf::instance();
53 int main(int argc
, char **argv
) {
56 getcwd(savedir
, 1024);
59 srand((unsigned int) time(NULL
));
62 setlocale(LC_ALL
, "");
63 bindtextdomain(PACKAGE
, LOCALEDIR
);
67 conf
->commandline(argc
, argv
);
74 } catch(exception e
) {
75 cerr
<< "Caught exception: " << e
.what() << endl
;