michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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: #include "nsNativeAppSupportBase.h" michael@0: michael@0: nsNativeAppSupportBase::nsNativeAppSupportBase() michael@0: { michael@0: } michael@0: michael@0: nsNativeAppSupportBase::~nsNativeAppSupportBase() michael@0: { michael@0: } michael@0: michael@0: NS_IMPL_ISUPPORTS(nsNativeAppSupportBase, nsINativeAppSupport) michael@0: michael@0: // Start answer defaults to OK. michael@0: NS_IMETHODIMP michael@0: nsNativeAppSupportBase::Start( bool *result ) michael@0: { michael@0: *result = true; michael@0: return NS_OK; michael@0: } michael@0: michael@0: NS_IMETHODIMP michael@0: nsNativeAppSupportBase::Enable() michael@0: { michael@0: return NS_OK; michael@0: } michael@0: michael@0: // Stop answer defaults to OK. michael@0: NS_IMETHODIMP michael@0: nsNativeAppSupportBase::Stop( bool *result ) michael@0: { michael@0: *result = true; michael@0: return NS_OK; michael@0: } michael@0: michael@0: NS_IMETHODIMP michael@0: nsNativeAppSupportBase::Quit() michael@0: { michael@0: return NS_OK; michael@0: } michael@0: michael@0: NS_IMETHODIMP michael@0: nsNativeAppSupportBase::ReOpen() michael@0: { michael@0: return NS_OK; michael@0: } michael@0: michael@0: NS_IMETHODIMP michael@0: nsNativeAppSupportBase::OnLastWindowClosing() { michael@0: return NS_OK; michael@0: }