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 org.eclipse.core.runtime.IPath;
|
|
19 |
|
|
20 |
import com.nokia.carbide.cpp.sdk.core.ISDKBuildInfo;
|
|
21 |
|
|
22 |
/**
|
|
23 |
* Interface for SBSv2 specific build information.
|
|
24 |
*
|
|
25 |
*/
|
|
26 |
public interface ISBSv2BuildInfo extends ISDKBuildInfo {
|
|
27 |
|
1462
|
28 |
void clearPlatformMacros();
|
|
29 |
|
|
30 |
/**
|
1434
|
31 |
* Returns the list of all platform macros for a SDK.
|
|
32 |
* <p>
|
|
33 |
* This is somewhat equivalent to calling "bldmake plat" on the command line
|
|
34 |
* These are the macros that can be used in MMP and INF files. They are only given by name (no value)
|
|
35 |
* </p>
|
|
36 |
* @param platform the platform name
|
|
37 |
* @return a list of macros, which may be empty.
|
|
38 |
*/
|
1462
|
39 |
List<String> getPlatformMacros(String platform);
|
|
40 |
|
|
41 |
/**
|
|
42 |
* Get the full path to the prefix file defined under \epoc32\tools\variant\variant.cfg
|
|
43 |
* @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.
|
|
44 |
*/
|
|
45 |
public IPath getPrefixFromVariantCfg();
|
|
46 |
|
|
47 |
/**
|
1434
|
48 |
* Get a list of macros specific to the given target type, e.g. "__EXE__" or "__DLL__"
|
|
49 |
* @param targettype
|
|
50 |
* @return list of macro strings, may be empty
|
|
51 |
*/
|
1462
|
52 |
List<String> getTargetTypeMacros(String targettype);
|
1434
|
53 |
|
|
54 |
/**
|
|
55 |
* Tells whether or not the plug-in installer has sniffed this SDK for eclipse plug-ins to install.
|
|
56 |
* @return true if the SDK was scanned.
|
|
57 |
* @since 2.0
|
|
58 |
*/
|
1462
|
59 |
boolean isPreviouslyScanned();
|
1434
|
60 |
|
1462
|
61 |
void setPreviouslyScanned(boolean wasScanned);
|
1434
|
62 |
|
|
63 |
}
|