summaryrefslogtreecommitdiffstats
path: root/knetworkconf/knetworkconf/main.cpp
blob: 8ebe038492dbe7f9d389d832745cd35b2a1a72bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/***************************************************************************
                          main.cpp  -  description
                             -------------------
    begin                : Sun Jan 12 00:54:19 UTC 2003
    copyright            : (C) 2003 by Juan Luis Baptiste
    email                : jbaptiste@merlinux.org
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#include <unistd.h>
#include <sys/types.h>
#include <kmessagebox.h>
#include <kcmdlineargs.h>
#include <kaboutdata.h>
#include <klocale.h>
#include <kuniqueapplication.h>
#include <dcopclient.h>
#include <kglobal.h>
#include <kgenericfactory.h>

//#include "knetworkconf.h"
#include "knetworkconfmodule.h"
#include "version.h"
	
	
static KCmdLineOptions options[] =
{
  { 0, 0, 0 }
  // INSERT YOUR COMMANDLINE OPTIONS HERE
};
/*typedef KGenericFactory<KNetworkConfModule> KDEDFactory; 
K_EXPORT_COMPONENT_FACTORY( knetworkconfmodule, KDEDFactory( "kcm_knetworkconfmodule" ) ); */

extern "C"
{
  KDE_EXPORT KCModule *create_knetworkconfmodule(TQWidget *parent, const char *name)
  {
    KGlobal::locale()->insertCatalogue("knetworkconf");
    return new KNetworkConfModule(parent, name);
  }
}