Kaydet (Commit) c23860c0 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS kabparam (1.2.86); FILE MERGED

2006/06/29 08:15:21 ebischoff 1.2.86.1: #i66691# Support for parametrized queries in KDE address book connector
üst a3934b1d
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: KDEInit.cxx,v $ * $RCSfile: KDEInit.cxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: obo $ $Date: 2006-01-20 08:37:32 $ * last change: $Author: kz $ $Date: 2006-07-06 14:10:11 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -44,11 +44,12 @@ ...@@ -44,11 +44,12 @@
#include <osl/process.h> #include <osl/process.h>
#endif #endif
#include <kapplication.h> #define KDE_HEADERS_WANT_KAPPLICATION
#include <kcmdlineargs.h> #define KDE_HEADERS_WANT_KCMDLINEARGS
#include <kglobal.h> #define KDE_HEADERS_WANT_KGLOBAL
#include <klocale.h> #define KDE_HEADERS_WANT_KLOCALE
#include <kdeversion.h> #define KDE_HEADERS_WANT_KDEVERSION
#include "kde_headers.hxx"
namespace connectivity namespace connectivity
{ {
...@@ -83,9 +84,8 @@ namespace connectivity ...@@ -83,9 +84,8 @@ namespace connectivity
{ {
OSL_ENSURE(s_pKApplication == NULL, "KDEInit::Init: inconsistency in the application pointers!"); OSL_ENSURE(s_pKApplication == NULL, "KDEInit::Init: inconsistency in the application pointers!");
// version 0.1
char *kabargs[1] = {"libkab1"}; char *kabargs[1] = {"libkab1"};
KCmdLineArgs::init(1, kabargs, "KAddressBook", *kabargs, "Address Book driver", "0.1"); KCmdLineArgs::init(1, kabargs, "KAddressBook", *kabargs, "Address Book driver", KAB_DRIVER_VERSION);
s_pKApplication = new KApplication(false, false); s_pKApplication = new KApplication(false, false);
} }
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: KDEInit.h,v $ * $RCSfile: KDEInit.h,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: obo $ $Date: 2006-01-20 08:37:46 $ * last change: $Author: kz $ $Date: 2006-07-06 14:10:24 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -36,6 +36,11 @@ ...@@ -36,6 +36,11 @@
#ifndef CONNECTIVITY_KAB_KDEINIT_H #ifndef CONNECTIVITY_KAB_KDEINIT_H
#define CONNECTIVITY_KAB_KDEINIT_H #define CONNECTIVITY_KAB_KDEINIT_H
// the address book driver's version
#define KAB_DRIVER_VERSION "0.2"
#define KAB_DRIVER_VERSION_MAJOR 0
#define KAB_DRIVER_VERSION_MINOR 2
// the minimum KDE version which is required at runtime // the minimum KDE version which is required at runtime
#define MIN_KDE_VERSION_MAJOR 3 #define MIN_KDE_VERSION_MAJOR 3
#define MIN_KDE_VERSION_MINOR 2 #define MIN_KDE_VERSION_MINOR 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment