/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the Source EULA. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
import { IBadge } from 'vs/workbench/services/activity/common/activity';
import { IDisposable } from 'vs/base/common/lifecycle';

export const IActivityBarService = createDecorator<IActivityBarService>('activityBarService');

export interface IActivityBarService {
	_serviceBrand: undefined;

	/**
	 * Show an activity in a viewlet.
	 */
	showActivity(viewletOrActionId: string, badge: IBadge, clazz?: string, priority?: number): IDisposable;

	/**
	 * Returns id of pinned viewlets following the visual order.
	 */
	getPinnedViewletIds(): string[];
}
