|
|
@ -22,6 +22,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
#ifndef DCOPTYPES_H
|
|
|
|
#ifndef DCOPTYPES_H
|
|
|
|
#define DCOPTYPES_H
|
|
|
|
#define DCOPTYPES_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// generic template fallback for unknown types
|
|
|
|
|
|
|
|
template <class T> inline const char* dcopTypeName( const T& ) { return "<unknown>"; }
|
|
|
|
|
|
|
|
|
|
|
|
#include <dcopref.h>
|
|
|
|
#include <dcopref.h>
|
|
|
|
|
|
|
|
|
|
|
|
// standard c/c++ types
|
|
|
|
// standard c/c++ types
|
|
|
@ -70,9 +73,6 @@ class TQVariant; inline const char* dcopTypeName( const TQVariant& ) { return "T
|
|
|
|
// And some KDE types
|
|
|
|
// And some KDE types
|
|
|
|
class KURL; inline const char* dcopTypeName( const KURL& ) { return "KURL"; }
|
|
|
|
class KURL; inline const char* dcopTypeName( const KURL& ) { return "KURL"; }
|
|
|
|
|
|
|
|
|
|
|
|
// generic template fallback for unknown types
|
|
|
|
|
|
|
|
template <class T> inline const char* dcopTypeName( const T& ) { return "<unknown>"; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// type initialization for standard c/c++ types
|
|
|
|
// type initialization for standard c/c++ types
|
|
|
|
inline void dcopTypeInit(bool& b){b=false;}
|
|
|
|
inline void dcopTypeInit(bool& b){b=false;}
|
|
|
|
inline void dcopTypeInit(char& c){c=0;}
|
|
|
|
inline void dcopTypeInit(char& c){c=0;}
|
|
|
|