/******************************************************************************* * Copyright (c) 2016 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.cmake.core; /** * Event occured with CMake ToolChain Files, either added or removed. */ public class CMakeToolChainEvent { /** * ToolChain file has been added. */ public static final int ADDED = 1; /** * ToolChain File has been removed. */ public static final int REMOVED = 2; private final int type; private final ICMakeToolChainFile toolChainFile; public CMakeToolChainEvent(int type, ICMakeToolChainFile toolChainFile) { this.type = type; this.toolChainFile = toolChainFile; } public int getType() { return type; } public ICMakeToolChainFile getToolChainFile() { return toolChainFile; } }