author | timkelly |
Wed, 28 Jul 2010 15:19:12 -0500 | |
branch | C3_BUILDER_WORK |
changeset 1710 | 94cdcd7c5550 |
parent 1667 | 352fb86872dd |
child 1736 | ba74c19c6de3 |
permissions | -rw-r--r-- |
1434 | 1 |
/* |
2 |
* Copyright (c) 2010 Nokia Corporation 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 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
*/ |
|
13 |
||
14 |
package com.nokia.carbide.cpp.internal.api.sdk; |
|
15 |
||
16 |
import java.util.List; |
|
17 |
||
18 |
import com.nokia.carbide.cpp.sdk.core.IBSFCatalog; |
|
19 |
import com.nokia.carbide.cpp.sdk.core.ISBVCatalog; |
|
20 |
import com.nokia.carbide.cpp.sdk.core.ISDKBuildInfo; |
|
1710
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
21 |
import com.nokia.carbide.cpp.sdk.core.ISymbianBuildContext; |
1434 | 22 |
|
23 |
/** |
|
24 |
* Interface for SBSv1 specific build information. |
|
25 |
* |
|
26 |
*/ |
|
27 |
public interface ISBSv1BuildInfo extends ISDKBuildInfo { |
|
28 |
||
1462 | 29 |
void clearPlatformMacros(); |
30 |
||
31 |
/** |
|
32 |
* Returns the list of all available platforms for a SDK. |
|
33 |
* @return a list of platform names which may be empty. |
|
34 |
*/ |
|
35 |
List<String> getAvailablePlatforms(); |
|
36 |
||
37 |
/** |
|
38 |
* Get the BSF catalog for a SDK. |
|
39 |
*/ |
|
40 |
IBSFCatalog getBSFCatalog(); |
|
41 |
||
1434 | 42 |
/** |
43 |
* Returns the list of all platform macros for a SDK. |
|
44 |
* <p> |
|
45 |
* This is somewhat equivalent to calling "bldmake plat" on the command line |
|
46 |
* These are the macros that can be used in MMP and INF files. They are only given by name (no value) |
|
47 |
* </p> |
|
48 |
* @param platform the platform name |
|
49 |
* @return a list of macros, which may be empty. |
|
50 |
*/ |
|
1462 | 51 |
List<String> getPlatformMacros(String platform); |
52 |
||
53 |
/** |
|
54 |
* Get the Symbian Binary Variation (SBV) catalog for a SDK. |
|
55 |
*/ |
|
56 |
ISBVCatalog getSBVCatalog(); |
|
57 |
||
58 |
/** |
|
59 |
* Get a list of macros specific to the given target type, e.g. "__EXE__" or "__DLL__" |
|
60 |
* @param targettype |
|
61 |
* @return list of macro strings, may be empty |
|
62 |
*/ |
|
63 |
List<String> getTargetTypeMacros(String targettype); |
|
1434 | 64 |
|
65 |
/** |
|
66 |
* Get a list of macros that are used to distinguish a SDK. Typically only |
|
67 |
* S603rd edition SDKs contain this information and it's used to differentiate between |
|
68 |
* varios S60 SDK releases. Other vendors, such as UIQ may put their macros in the variant HRH file. |
|
69 |
* @return A list of macros just returned by name. |
|
70 |
*/ |
|
1462 | 71 |
public List<String> getVendorSDKMacros(); |
1434 | 72 |
|
73 |
/** |
|
1462 | 74 |
* Tells whether or not the plug-in installer has sniffed this SDK for eclipse plug-ins to install. |
75 |
* @return true if the SDK was scanned |
|
1434 | 76 |
*/ |
1462 | 77 |
boolean isPreviouslyScanned(); |
1434 | 78 |
|
1462 | 79 |
void setPreviouslyScanned(boolean wasScanned); |
1434 | 80 |
|
1710
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
81 |
/** |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
82 |
* Returns the list of all built in macros for this configuration. This is ABLD specific. SBSv2 gets these macros from the --query=config. |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
83 |
* <p> |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
84 |
* Macros will be just a name, e.g. "_DEBUG", "__SYMBIAN32__", etc.. |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
85 |
* </p> |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
86 |
* |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
87 |
* @return a list of macros which may be empty. |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
88 |
*/ |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
89 |
List<String> getBuiltinMacros(ISymbianBuildContext context); |
94cdcd7c5550
Refactor getBuiltInMacros() to be SBSv1 specific. This are the hard-coded macros misc macros we are adding for SBSv1.
timkelly
parents:
1667
diff
changeset
|
90 |
|
1434 | 91 |
} |