gecko-dev/browser/app/installation_dir_layout/nsInstallationDirLayout.h
Chris DuPuis 95d0fd2e61 Bug 1891616 - Create XPCOM component for accessing setting r=bytesized
This exposes whether or not the installation is using
versioned install directories through the value of
Services.install_dir_layout.isInstallationLayoutVersioned

Differential Revision: https://phabricator.services.mozilla.com/D237978
2025-06-18 19:39:57 +00:00

25 lines
639 B
C++

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_nsInstDirLayout_h__
#define mozilla_nsInstDirLayout_h__
#include "nsIInstallationDirLayout.h"
namespace mozilla {
nsresult InitializeInstallationDirLayout();
class InstallationDirLayout final : public nsIInstallationDirLayout {
NS_DECL_ISUPPORTS
NS_DECL_NSIINSTALLATIONDIRLAYOUT
public:
InstallationDirLayout() = default;
private:
~InstallationDirLayout() = default;
};
} // namespace mozilla
#endif