core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/ISBSv2BuildInfo.java
branchC3_BUILDER_WORK
changeset 1811 b1772bf1197b
parent 1621 393b985a50f3
child 1871 4d38e1ac1cff
equal deleted inserted replaced
1805:1d57e533b09e 1811:b1772bf1197b
    25  *
    25  *
    26  */
    26  */
    27 public interface ISBSv2BuildInfo extends ISDKBuildInfo {
    27 public interface ISBSv2BuildInfo extends ISDKBuildInfo {
    28 
    28 
    29 	/**
    29 	/**
    30 	 * Returns the list of all platform macros for a SDK.
    30 	 * Returns the list of all platform/metadata macros for a given build alias (sbs configuration).
    31 	 * <p>
    31 	 * <p>
    32 	 * This is somewhat equivalent to calling "bldmake plat" on the command line
    32 	 * These are the &lt;metadata/&gt; macros from a query to Raptor with 'sbs --query=config[<config>].
    33 	 * These are the macros that can be used in MMP and INF files. They are only given by name (no value)
    33 	 * These are the macros that can be used in MMP and INF files.
    34 	 * </p>
    34 	 * </p>
    35 	 * @param platform the platform name
    35 	 * @param sbs build alias
    36 	 * @return a map of macros and values, which may be empty.
    36 	 * @return a map of macros and value pairs, which may be empty.
    37 	 */
    37 	 */
    38 	Map<String, String> getPlatformMacros(String platform);
    38 	Map<String, String> getMetadataMacros(String buildAlias);
    39 
    39 
       
    40 	/**
       
    41 	 * Returns the list of all build macros fro a given build alias (sbs configuration).
       
    42 	 * <p>
       
    43 	 * These are the &lt;build/&gt; macros from a query to Raptor with 'sbs --query=config[<config>].
       
    44 	 * These are the macros that can be used in C/C++ files.
       
    45 	 * </p>
       
    46 	 * @param buildAlias
       
    47 	 * @return a map of macros and value pairs, which may be empty.
       
    48 	 */
       
    49 	public Map<String, String> getBuildMacros(String buildAlias);
       
    50 	
    40 	/**
    51 	/**
    41 	 * Get the full path to the prefix file defined under \epoc32\tools\variant\variant.cfg
    52 	 * Get the full path to the prefix file defined under \epoc32\tools\variant\variant.cfg
    42 	 * @return A path object, or null if the variant.cfg does not exist. This routine does not check to see if the returned path exists.
    53 	 * @return A path object, or null if the variant.cfg does not exist. This routine does not check to see if the returned path exists.
    43 	 */
    54 	 */
    44 	public IPath getPrefixFromVariantCfg();
    55 	public IPath getPrefixFromVariantCfg();
    45 
    56 
    46 	/**
    57 	/**
    47 	 * Get a list of macros specific to the given target type, e.g. "__EXE__" or "__DLL__"
    58 	 * Get the macro for the given target type, e.g. "__EXE__" or "__DLL__"
    48 	 * @param targettype
    59 	 * @param targettype
    49 	 * @return list of macro strings, may be empty
    60 	 * @return list of macro strings, may be empty
    50 	 */
    61 	 */
    51 	List<String> getTargetTypeMacros(String targettype);
    62 	String getTargetTypeMacro(String targettype);
    52 
    63 
    53 	/**
    64 	/**
    54 	 * Tells whether or not the plug-in installer has sniffed this SDK for eclipse plug-ins to install.
    65 	 * Tells whether or not the plug-in installer has sniffed this SDK for eclipse plug-ins to install.
    55 	 * @return true if the SDK was scanned.
    66 	 * @return true if the SDK was scanned.
    56 	 * @since 2.0
    67 	 * @since 2.0