author | timkelly |
Tue, 10 Aug 2010 19:18:52 -0500 | |
branch | C3_BUILDER_WORK |
changeset 1802 | 7e50573a0115 |
parent 1801 | 1d73a4591cf8 |
parent 1799 | ee7381872847 |
child 1803 | 9482220f0b7b |
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. |
|
1799 | 25 |
* @since 3.0 |
26 |
* @deprecated - Temporary support exists for abld on Symbian^2 but will be removed, vFuture |
|
1434 | 27 |
* |
28 |
*/ |
|
29 |
public interface ISBSv1BuildInfo extends ISDKBuildInfo { |
|
1799 | 30 |
|
31 |
/** |
|
32 |
* Clears the list of macros specific to all abld build platforms |
|
33 |
* @deprecated |
|
34 |
*/ |
|
1462 | 35 |
void clearPlatformMacros(); |
36 |
||
37 |
/** |
|
38 |
* Returns the list of all available platforms for a SDK. |
|
39 |
* @return a list of platform names which may be empty. |
|
1799 | 40 |
* @deprecated |
1462 | 41 |
*/ |
42 |
List<String> getAvailablePlatforms(); |
|
43 |
||
44 |
/** |
|
45 |
* Get the BSF catalog for a SDK. |
|
1799 | 46 |
* @deprecated |
1462 | 47 |
*/ |
48 |
IBSFCatalog getBSFCatalog(); |
|
49 |
||
1434 | 50 |
/** |
51 |
* Returns the list of all platform macros for a SDK. |
|
52 |
* <p> |
|
53 |
* This is somewhat equivalent to calling "bldmake plat" on the command line |
|
54 |
* These are the macros that can be used in MMP and INF files. They are only given by name (no value) |
|
55 |
* </p> |
|
56 |
* @param platform the platform name |
|
57 |
* @return a list of macros, which may be empty. |
|
1799 | 58 |
* @deprecated |
1434 | 59 |
*/ |
1462 | 60 |
List<String> getPlatformMacros(String platform); |
61 |
||
62 |
/** |
|
63 |
* Get the Symbian Binary Variation (SBV) catalog for a SDK. |
|
1799 | 64 |
* @deprecated |
1462 | 65 |
*/ |
66 |
ISBVCatalog getSBVCatalog(); |
|
67 |
||
68 |
/** |
|
69 |
* Get a list of macros specific to the given target type, e.g. "__EXE__" or "__DLL__" |
|
70 |
* @param targettype |
|
71 |
* @return list of macro strings, may be empty |
|
1799 | 72 |
* @deprecated |
1462 | 73 |
*/ |
74 |
List<String> getTargetTypeMacros(String targettype); |
|
1434 | 75 |
|
76 |
/** |
|
77 |
* Get a list of macros that are used to distinguish a SDK. Typically only |
|
78 |
* S603rd edition SDKs contain this information and it's used to differentiate between |
|
79 |
* varios S60 SDK releases. Other vendors, such as UIQ may put their macros in the variant HRH file. |
|
80 |
* @return A list of macros just returned by name. |
|
1799 | 81 |
* @deprecated |
1434 | 82 |
*/ |
1462 | 83 |
public List<String> getVendorSDKMacros(); |
1434 | 84 |
|
85 |
/** |
|
1462 | 86 |
* Tells whether or not the plug-in installer has sniffed this SDK for eclipse plug-ins to install. |
87 |
* @return true if the SDK was scanned |
|
1799 | 88 |
* @deprecated |
1434 | 89 |
*/ |
1462 | 90 |
boolean isPreviouslyScanned(); |
1799 | 91 |
|
92 |
/** |
|
93 |
* @deprecated |
|
94 |
*/ |
|
1462 | 95 |
void setPreviouslyScanned(boolean wasScanned); |
1434 | 96 |
|
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
|
97 |
/** |
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
|
98 |
* 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
|
99 |
* <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
|
100 |
* 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
|
101 |
* </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
|
102 |
* |
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
|
103 |
* @return a list of macros which may be empty. |
1799 | 104 |
* @deprecated |
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
|
105 |
*/ |
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
|
106 |
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
|
107 |
|
1736
ba74c19c6de3
fix bug 11762. Fix targettypes for MMP editor to retrieve properly depending on whether build config is SBsv1 or SBSv2.
timkelly
parents:
1710
diff
changeset
|
108 |
/** |
ba74c19c6de3
fix bug 11762. Fix targettypes for MMP editor to retrieve properly depending on whether build config is SBsv1 or SBSv2.
timkelly
parents:
1710
diff
changeset
|
109 |
* Get a list of supported targettypes listed by this SDK. This routine parses the |
ba74c19c6de3
fix bug 11762. Fix targettypes for MMP editor to retrieve properly depending on whether build config is SBsv1 or SBSv2.
timkelly
parents:
1710
diff
changeset
|
110 |
* \epoc32\tools\trgttype.pm file to build it's list. |
ba74c19c6de3
fix bug 11762. Fix targettypes for MMP editor to retrieve properly depending on whether build config is SBsv1 or SBSv2.
timkelly
parents:
1710
diff
changeset
|
111 |
* @return A list of targettype names that can be used in an MMP file |
1799 | 112 |
* @deprecated |
1736
ba74c19c6de3
fix bug 11762. Fix targettypes for MMP editor to retrieve properly depending on whether build config is SBsv1 or SBSv2.
timkelly
parents:
1710
diff
changeset
|
113 |
*/ |
ba74c19c6de3
fix bug 11762. Fix targettypes for MMP editor to retrieve properly depending on whether build config is SBsv1 or SBSv2.
timkelly
parents:
1710
diff
changeset
|
114 |
List<String> getSupportedTargetTypes(); |
ba74c19c6de3
fix bug 11762. Fix targettypes for MMP editor to retrieve properly depending on whether build config is SBsv1 or SBSv2.
timkelly
parents:
1710
diff
changeset
|
115 |
|
1799 | 116 |
* @deprecated |
1434 | 117 |
} |