mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-02 17:28:50 +02:00
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
25 lines
639 B
C++
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
|