core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/ISymbianSDKModifier.java
branchC3_BUILDER_WORK
changeset 1462 b38491fd06da
parent 1434 79471fd1fd69
child 1667 352fb86872dd
equal deleted inserted replaced
1460:26f585ac8a88 1462:b38491fd06da
    11 *
    11 *
    12 */
    12 */
    13 
    13 
    14 package com.nokia.carbide.cpp.internal.api.sdk;
    14 package com.nokia.carbide.cpp.internal.api.sdk;
    15 
    15 
       
    16 import org.eclipse.core.runtime.IPath;
    16 import org.osgi.framework.Version;
    17 import org.osgi.framework.Version;
    17 
    18 
    18 import com.nokia.carbide.cpp.sdk.core.ISDKBuildInfo;
    19 import com.nokia.carbide.cpp.sdk.core.ISDKBuildInfo;
    19 
    20 
    20 /**
    21 /**
    22  *
    23  *
    23  */
    24  */
    24 public interface ISymbianSDKModifier {
    25 public interface ISymbianSDKModifier {
    25 
    26 
    26 	/**
    27 	/**
       
    28 	 * Add a feature supported by the SDK.
       
    29 	 * @param feature supported feature
       
    30 	 */
       
    31 	void addSupportedFeature(Object feature);
       
    32 
       
    33 	/**
    27 	 * Sets the build info for a particular builder.
    34 	 * Sets the build info for a particular builder.
    28 	 * @param buildInfo build info
    35 	 * @param buildInfo build info
    29 	 * @param builderId id string of a builder
    36 	 * @param builderId id string of a builder
    30 	 */
    37 	 */
    31 	void setBuildInfo(ISDKBuildInfo buildInfo, String builderId);
    38 	void setBuildInfo(ISDKBuildInfo buildInfo, String builderId);
    32 
       
    33 	/**
       
    34 	 * Add a feature supported by the SDK.
       
    35 	 * @param feature supported feature
       
    36 	 */
       
    37 	void addSupportedFeature(Object feature);
       
    38 
    39 
    39 	/**
    40 	/**
    40 	 * Marks the SDK as enabled or disabled.
    41 	 * Marks the SDK as enabled or disabled.
    41 	 * @param enable whether to enable or disable the SDK
    42 	 * @param enable whether to enable or disable the SDK
    42 	 */
    43 	 */
    43 	void setEnabled(boolean enable);
    44 	void setEnabled(boolean enable);
    44 
    45 
    45 	/**
    46 	/**
       
    47 	 * Set the absolute path to the epoc32 directory of this SDK.
       
    48 	 * @param epocRoot absolute path to the epoc32 directory
       
    49 	 */
       
    50 	void setEPOCROOT(String epocRoot);
       
    51 
       
    52 	/**
       
    53 	 * Sets display name of a SDK. This is the com.vendor.family identifier.
       
    54 	 * @param name SDK display name
       
    55 	 */
       
    56 	void setName(String name);
       
    57 
       
    58 	/**
       
    59 	 * Sets the OS version string of a SDK.
       
    60 	 * @param osVer OS version
       
    61 	 */
       
    62 	public void setOSVersion(Version osVer);
       
    63 
       
    64 	/**
       
    65 	 * Sets the prefix file for a particular builder.
       
    66 	 * @param prefixFile path of prefix file
       
    67 	 * @param builderId id string of a builder
       
    68 	 */
       
    69 	void setPrefixFile(IPath prefixFile, String builderId);
       
    70 
       
    71 	/**
       
    72 	 * Sets the SDK version string of a SDK.
       
    73 	 * @param sdkVers SDK version
       
    74 	 */
       
    75 	void setSDKVersion(Version sdkVers);
       
    76 
       
    77 	/**
    46 	 * Sets the unique id of a SDK.
    78 	 * Sets the unique id of a SDK.
    47 	 * @param id id string of a SDK
    79 	 * @param id id string of a SDK
    48 	 */
    80 	 */
    49 	void setUniqueId(String id);
    81 	void setUniqueId(String id);
    50 
    82 
    51 	/**
       
    52 	 * Sets the OS version string of a SDK.
       
    53 	 * @param osVer OS version object
       
    54 	 */
       
    55 	public void setOSVersion(Version osVer);
       
    56 
       
    57 }
    83 }