From e14ab1e03bf40e5f63329f8ed26b3f11cc15fb0a Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Thu, 4 Oct 2012 14:52:34 +0200 Subject: Replace #include statements with forward declarations in converter.h. --- src/common/converter.cpp | 5 +++++ src/common/converter.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/converter.cpp b/src/common/converter.cpp index 365f891..a060618 100644 --- a/src/common/converter.cpp +++ b/src/common/converter.cpp @@ -1,6 +1,11 @@ +extern "C" { +#include +} + #include "converter.h" #include +#include /*! \internal */ QVariant Converter::toQVariant(GVariant *value) diff --git a/src/common/converter.h b/src/common/converter.h index f4d7e08..5f05bc7 100644 --- a/src/common/converter.h +++ b/src/common/converter.h @@ -20,8 +20,8 @@ #ifndef CONVERTER_H #define CONVERTER_H -#include -#include +typedef struct _GVariant GVariant; +class QVariant; class Converter { -- cgit v1.2.3