MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9
   Home · All Classes · All Namespaces · Modules · Functions · Files

test-backdoors.h

00001 
00023 #ifndef _TelepathyQt4_test_backdoors_h_HEADER_GUARD_
00024 #define _TelepathyQt4_test_backdoors_h_HEADER_GUARD_
00025 
00026 #ifdef IN_TELEPATHY_QT4_HEADER
00027 #error "This file is an internal header and should never be included by a public one"
00028 #endif
00029 
00030 #include <TelepathyQt4/Global>
00031 #include <TelepathyQt4/ConnectionCapabilities>
00032 #include <TelepathyQt4/ContactCapabilities>
00033 
00034 #include <QString>
00035 
00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00037 
00038 namespace Tp
00039 {
00040 
00041 class DBusProxy;
00042 
00043 // Exported so the tests can use it even if they link dynamically
00044 // The header is not installed though, so this should be considered private API
00045 struct TELEPATHY_QT4_EXPORT TestBackdoors
00046 {
00047     static void invalidateProxy(DBusProxy *proxy, const QString &reason, const QString &message);
00048 
00049     static ConnectionCapabilities createConnectionCapabilities(
00050             const RequestableChannelClassSpecList &rccSpecs);
00051     static ContactCapabilities createContactCapabilities(
00052             const RequestableChannelClassSpecList &rccSpecs, bool specificToContact);
00053 };
00054 
00055 } // Tp
00056 
00057 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00058 
00059 #endif

Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.6.5