00001 
00023 #ifndef _TelepathyQt_test_backdoors_h_HEADER_GUARD_
00024 #define _TelepathyQt_test_backdoors_h_HEADER_GUARD_
00025 
00026 #ifdef IN_TP_QT_HEADER
00027 #error "This file is an internal header and should never be included by a public one"
00028 #endif
00029 
00030 #include <TelepathyQt/Global>
00031 #include <TelepathyQt/ConnectionCapabilities>
00032 #include <TelepathyQt/ContactCapabilities>
00033 
00034 #include <QString>
00035 
00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00037 
00038 namespace Tp
00039 {
00040 
00041 class DBusProxy;
00042 
00043 
00044 
00045 struct TP_QT_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 } 
00056 
00057 #endif 
00058 
00059 #endif