You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.5 KiB
48 lines
1.5 KiB
15 years ago
|
/*=========================================================================
|
||
|
| KCardDAV
|
||
|
|--------------------------------------------------------------------------
|
||
|
| (c) 2010 Timothy Pearson
|
||
|
|
|
||
|
| This project is released under the GNU General Public License.
|
||
|
| Please see the file COPYING for more details.
|
||
|
|--------------------------------------------------------------------------
|
||
|
| CardDAV resource factory.
|
||
|
========================================================================*/
|
||
|
|
||
|
/*=========================================================================
|
||
|
| INCLUDES
|
||
|
========================================================================*/
|
||
|
|
||
|
#include "resource.h"
|
||
|
#include "config.h"
|
||
|
#include "export.h"
|
||
|
|
||
|
#include <kglobal.h>
|
||
|
#include <klocale.h>
|
||
|
|
||
|
/*=========================================================================
|
||
|
| NAMESPACE
|
||
|
========================================================================*/
|
||
|
|
||
|
using namespace KABC;
|
||
|
|
||
|
/*=========================================================================
|
||
|
| CLASS
|
||
|
========================================================================*/
|
||
|
|
||
|
// Creates the resource factory.
|
||
|
|
||
|
typedef KRES::PluginFactory<ResourceCardDav, ResourceCardDavConfig> CardDavFactory;
|
||
|
|
||
|
extern "C"
|
||
|
{
|
||
|
void *init_kabc_carddav()
|
||
|
{
|
||
12 years ago
|
TDEGlobal::locale()->insertCatalogue( "tdepimresources" );
|
||
|
TDEGlobal::locale()->insertCatalogue( "kres_caldav" );
|
||
15 years ago
|
return new CardDavFactory;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// EOF ========================================================================
|