1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/xre/nsNativeAppSupportDefault.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#include "nsNativeAppSupportBase.h" 1.9 + 1.10 +nsresult 1.11 +NS_CreateNativeAppSupport( nsINativeAppSupport **aResult ) 1.12 +{ 1.13 + nsNativeAppSupportBase* native = new nsNativeAppSupportBase(); 1.14 + if (!native) return NS_ERROR_OUT_OF_MEMORY; 1.15 + 1.16 + *aResult = native; 1.17 + NS_ADDREF( *aResult ); 1.18 + 1.19 + return NS_OK; 1.20 +}