blob: 659ed9c84e87ea347bbd1118e1979a80763cf23c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright (c) 2014, 2015 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.eclipse.cdt.internal.qt.core.index;
/**
* Represents a QMake environment similarly to IQMakeEnv but it has an explicit init method which is called to notify
* that the IQMakeEnv is used for active listening on change of QMakeEnvInfo and therefore it should initialize
* its listener for such changes.
*
* Note that it is expected that IQMakeEnv2 does complete initialization in init method - not in the constructor
* i.e. the IQMakeEnv2 instance should start listening on possible changes of its IQMakeEnvInfo.
*/
public interface IQMakeEnv2 extends IQMakeEnv {
/**
* Notifies that this IQMakeEnv is used.
* This method should not use any workspace-lock or sync-locks that might call QMake-related structures.
*/
void init();
}
|