org.symbian.tools.mtw.core/src/org/symbian/tools/tmw/core/utilities/CoreUtil.java
changeset 468 a05c6e5cc7d9
equal deleted inserted replaced
467:5a2901872fcf 468:a05c6e5cc7d9
       
     1 /**
       
     2  * Copyright (c) 2010 Symbian Foundation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of the License "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Symbian Foundation - initial contribution.
       
    11  * Contributors:
       
    12  * Description:
       
    13  * Overview:
       
    14  * Details:
       
    15  * Platforms/Drives/Compatibility:
       
    16  * Assumptions/Requirement/Pre-requisites:
       
    17  * Failures and causes:
       
    18  */
       
    19 package org.symbian.tools.tmw.core.utilities;
       
    20 
       
    21 import org.eclipse.core.runtime.Platform;
       
    22 
       
    23 /**
       
    24  * Utilities used all over the TMW code base. Users can rely on this methods 
       
    25  * even though they are not specific to mobile development.
       
    26  * 
       
    27  * @author Eugene Ostroukhov (eugeneo@symbian.org)
       
    28  */
       
    29 public final class CoreUtil {
       
    30 
       
    31     private CoreUtil() {
       
    32         // Class with only static methods
       
    33     }
       
    34 
       
    35     public static boolean isMac() {
       
    36         return "macosx".equals(Platform.getOS());
       
    37     }
       
    38 }