1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* local header for xpconnect tests components */
9 #ifndef xpctest_private_h___
10 #define xpctest_private_h___
12 #include "nsISupports.h"
14 #include "xpctest_attributes.h"
15 #include "xpctest_params.h"
16 #include "xpctest_returncode.h"
17 #include "xpctest_cenums.h"
18 #include "mozilla/Attributes.h"
19 #include "mozilla/ModuleUtils.h"
21 nsresult
xpcTestRegisterComponents();
23 class xpcTestObjectReadOnly final
: public nsIXPCTestObjectReadOnly
{
26 NS_DECL_NSIXPCTESTOBJECTREADONLY
27 xpcTestObjectReadOnly();
30 ~xpcTestObjectReadOnly() = default;
33 int16_t shortProperty
;
40 class xpcTestObjectReadWrite final
: public nsIXPCTestObjectReadWrite
{
43 NS_DECL_NSIXPCTESTOBJECTREADWRITE
45 xpcTestObjectReadWrite();
48 ~xpcTestObjectReadWrite();
51 int16_t shortProperty
;
59 class nsXPCTestParams final
: public nsIXPCTestParams
{
62 NS_DECL_NSIXPCTESTPARAMS
64 nsXPCTestParams() = default;
67 ~nsXPCTestParams() = default;
70 class nsXPCTestESMReturnCodeParent final
: public nsIXPCTestReturnCodeParent
{
73 NS_DECL_NSIXPCTESTRETURNCODEPARENT
75 nsXPCTestESMReturnCodeParent() = default;
78 ~nsXPCTestESMReturnCodeParent() = default;
81 class xpcTestCEnums final
: public nsIXPCTestCEnums
{
84 NS_DECL_NSIXPCTESTCENUMS
89 ~xpcTestCEnums() = default;
91 #endif /* xpctest_private_h___ */