1// Aseprite
2// Copyright (C) 2001-2015 David Capello
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifdef HAVE_CONFIG_H
8#include "config.h"
9#endif
10
11#include "app/ui/workspace_tabs.h"
12
13namespace app {
14
15using namespace ui;
16
17WorkspaceTabs::WorkspaceTabs(TabsDelegate* tabsDelegate)
18 : Tabs(tabsDelegate)
19 , m_panel(nullptr)
20{
21}
22
23WorkspaceTabs::~WorkspaceTabs()
24{
25}
26
27void WorkspaceTabs::setPanel(WorkspacePanel* panel)
28{
29 ASSERT(!m_panel);
30 m_panel = panel;
31}
32
33} // namespace app
34