summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlli Salli <ollisal@gmail.com>2011-05-25 18:10:55 +0300
committerOlli Salli <ollisal@gmail.com>2011-05-25 18:27:35 +0300
commit63b66df2597093e15868b4da42d71a90ba792c37 (patch)
treeeccf3a94527a3601ca380251a55218f1337d0b96
parent5f5f8e3c78f7dc9d32e7a3131614b3484b42c4ee (diff)
Make doxygen skip OptionalInterfaceCache completely
-rw-r--r--TelepathyQt4/optional-interface-factory.cpp4
-rw-r--r--TelepathyQt4/optional-interface-factory.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/TelepathyQt4/optional-interface-factory.cpp b/TelepathyQt4/optional-interface-factory.cpp
index 5f709bba..2580bc84 100644
--- a/TelepathyQt4/optional-interface-factory.cpp
+++ b/TelepathyQt4/optional-interface-factory.cpp
@@ -32,6 +32,8 @@
namespace Tp
{
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
struct TELEPATHY_QT4_NO_EXPORT OptionalInterfaceCache::Private
{
QObject *proxy;
@@ -85,6 +87,8 @@ void OptionalInterfaceCache::cache(AbstractInterface *interface) const
mPriv->interfaces[name] = interface;
}
+#endif /* ifndef DOXYGEN_SHOULD_SKIP_THIS */
+
/**
* \class OptionalInterfaceFactory
* \ingroup clientsideproxies
diff --git a/TelepathyQt4/optional-interface-factory.h b/TelepathyQt4/optional-interface-factory.h
index e26236f1..598d521b 100644
--- a/TelepathyQt4/optional-interface-factory.h
+++ b/TelepathyQt4/optional-interface-factory.h
@@ -63,7 +63,9 @@ private:
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
template <typename DBusProxySubclass> class OptionalInterfaceFactory
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
: private OptionalInterfaceCache
+#endif
{
Q_DISABLE_COPY(OptionalInterfaceFactory)