2011-08-05 22:36:51 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2011-08-05 22:36:51 +04:00
|
|
|
|
|
|
|
#ifndef nsCocoaFeatures_h_
|
|
|
|
#define nsCocoaFeatures_h_
|
|
|
|
|
2012-10-18 23:55:48 +04:00
|
|
|
#include "mozilla/StandardInteger.h"
|
2011-08-05 22:36:51 +04:00
|
|
|
|
|
|
|
class nsCocoaFeatures {
|
|
|
|
public:
|
2012-08-22 19:56:38 +04:00
|
|
|
static int32_t OSXVersion();
|
2012-01-10 04:11:04 +04:00
|
|
|
static bool OnLionOrLater();
|
2012-12-17 02:39:29 +04:00
|
|
|
static bool OnMountainLionOrLater();
|
2012-05-17 06:13:02 +04:00
|
|
|
static bool SupportCoreAnimationPlugins();
|
2012-05-17 11:53:20 +04:00
|
|
|
|
2011-08-05 22:36:51 +04:00
|
|
|
private:
|
2012-08-22 19:56:38 +04:00
|
|
|
static int32_t mOSXVersion;
|
2011-08-05 22:36:51 +04:00
|
|
|
};
|
|
|
|
#endif // nsCocoaFeatures_h_
|