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 file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_system_automountersetting_h__ michael@0: #define mozilla_system_automountersetting_h__ michael@0: michael@0: #include "nsIObserver.h" michael@0: michael@0: namespace mozilla { michael@0: namespace system { michael@0: michael@0: class ResultListener; michael@0: michael@0: class AutoMounterSetting : public nsIObserver michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIOBSERVER michael@0: michael@0: AutoMounterSetting(); michael@0: virtual ~AutoMounterSetting(); michael@0: michael@0: static void CheckVolumeSettings(const nsACString& aVolumeName); michael@0: michael@0: int32_t GetStatus() { return mStatus; } michael@0: void SetStatus(int32_t aStatus); michael@0: const char *StatusStr(int32_t aStatus); michael@0: michael@0: private: michael@0: int32_t mStatus; michael@0: }; michael@0: michael@0: } // namespace system michael@0: } // namespace mozilla michael@0: michael@0: #endif // mozilla_system_automountersetting_h__ michael@0: