michael@0: /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* local header for xpconnect tests components */ michael@0: michael@0: #ifndef xpctest_private_h___ michael@0: #define xpctest_private_h___ michael@0: michael@0: #include "nsISupports.h" michael@0: #include "nsMemory.h" michael@0: #include "nsStringGlue.h" michael@0: #include "xpctest_attributes.h" michael@0: #include "xpctest_params.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: class xpcTestObjectReadOnly MOZ_FINAL : public nsIXPCTestObjectReadOnly { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIXPCTESTOBJECTREADONLY michael@0: xpcTestObjectReadOnly(); michael@0: michael@0: private: michael@0: bool boolProperty; michael@0: int16_t shortProperty; michael@0: int32_t longProperty; michael@0: float floatProperty; michael@0: char charProperty; michael@0: PRTime timeProperty; michael@0: }; michael@0: michael@0: class xpcTestObjectReadWrite MOZ_FINAL : public nsIXPCTestObjectReadWrite { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIXPCTESTOBJECTREADWRITE michael@0: michael@0: xpcTestObjectReadWrite(); michael@0: ~xpcTestObjectReadWrite(); michael@0: michael@0: private: michael@0: bool boolProperty; michael@0: int16_t shortProperty; michael@0: int32_t longProperty; michael@0: float floatProperty; michael@0: char charProperty; michael@0: char *stringProperty; michael@0: PRTime timeProperty; michael@0: }; michael@0: michael@0: class nsXPCTestParams MOZ_FINAL : public nsIXPCTestParams michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIXPCTESTPARAMS michael@0: michael@0: nsXPCTestParams(); michael@0: michael@0: private: michael@0: ~nsXPCTestParams(); michael@0: }; michael@0: michael@0: #endif /* xpctest_private_h___ */