Update git submodules
[LibreOffice.git] / cpp.hint
blob727243a3f966610871bb9965337395d621bdae24
1 // Hint files help the Visual Studio IDE interpret Visual C++ identifiers
2 // such as names of functions and macros.
3 // For more information see https://go.microsoft.com/fwlink/?linkid=865984
5 #define SAL_THROW_EXTERN_C()
7 #define SAL_UNUSED_PARAMETER
9 #define SAL_LOPLUGIN_ANNOTATE(id)
11 #define DECL_LINK(Member, ArgType, RetType) \
12     RetType Member(ArgType)
14 #define DECL_STATIC_LINK(Class, Member, ArgType, RetType) \
15     static RetType Member(Class *, ArgType)
17 #define DECL_DLLPRIVATE_LINK(Member, ArgType, RetType) \
18     SAL_DLLPRIVATE RetType Member(ArgType)
20 #define DECL_DLLPRIVATE_STATIC_LINK(Class, Member, ArgType, RetType) \
21     SAL_DLLPRIVATE static RetType Member(Class *, ArgType)
23 #define IMPL_LINK(Class, Member, ArgType, ArgName, RetType) \
24     RetType Class::Member(ArgType ArgName)
26 #define IMPL_LINK_NOARG(Class, Member, ArgType, RetType) \
27     RetType Class::Member(ArgType)
29 #define IMPL_STATIC_LINK(Class, Member, ArgType, ArgName, RetType) \
30     RetType Class::Member(Class *, ArgType ArgName)
32 #define IMPL_STATIC_LINK_NOARG(Class, Member, ArgType, RetType) \
33     RetType Class::Member(Class *, ArgType)
35 // From workdir/UnpackedTarball/cppunit/include/cppunit/plugin/TestPlugIn.h
37 #define CPPUNIT_PLUGIN_IMPLEMENT()
39 // From workdir/UnpackedTarball/cppunit/include/cppunit/extensions/HelperMacros.h
40 // To allow searching for the test names, where they are defined using the macros
42 #define CPPUNIT_TEST_FIXTURE(TestClass, TestName)                              \
43     class TestName : public TestClass                                          \
44     {                                                                          \
45     public:                                                                    \
46         void TestBody();                                                       \
47     };                                                                         \
48     void TestName::TestBody()
50 // From sw/qa/inc/swmodeltestbase.hxx
51 // To allow searching for the test names, where they are defined using the macros
52 #define DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, password, BaseClass) \
53     class TestName : public BaseClass {                                    \
54     public:                                                                \
55         void verify() override;                                            \
56     };                                                                     \
57     void TestName::verify()
59 #define DECLARE_OOXMLEXPORT_TEST(TestName, filename) DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, nullptr, Test)
60 #define DECLARE_ODFEXPORT_TEST(TestName, filename) DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, nullptr, Test)
61 #define DECLARE_FODFEXPORT_TEST(TestName, filename) DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, nullptr, Test)
62 #define DECLARE_WW8EXPORT_TEST(TestName, filename) DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, nullptr, Test)