Home · Modules · All Classes · All Namespaces
test-backdoors.h
1 
23 #ifndef _TelepathyQt_test_backdoors_h_HEADER_GUARD_
24 #define _TelepathyQt_test_backdoors_h_HEADER_GUARD_
25 
26 #ifdef IN_TP_QT_HEADER
27 #error "This file is an internal header and should never be included by a public one"
28 #endif
29 
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/ConnectionCapabilities>
32 #include <TelepathyQt/ContactCapabilities>
33 
34 #include <QString>
35 
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37 
38 namespace Tp
39 {
40 
41 class DBusProxy;
42 
43 // Exported so the tests can use it even if they link dynamically
44 // The header is not installed though, so this should be considered private API
45 struct TP_QT_EXPORT TestBackdoors
46 {
47  static void invalidateProxy(DBusProxy *proxy, const QString &reason, const QString &message);
48 
49  static ConnectionCapabilities createConnectionCapabilities(
50  const RequestableChannelClassSpecList &rccSpecs);
51  static ContactCapabilities createContactCapabilities(
52  const RequestableChannelClassSpecList &rccSpecs, bool specificToContact);
53 };
54 
55 } // Tp
56 
57 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
58 
59 #endif
Definition: abstract-adaptor.cpp:31