summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.h
blob: 3fd956a4f3b96ef9f5d2011a0ef5c708867d7abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "widget.h"

enum iSidebarMode {
    bookmarks_SidebarMode,
    history_SidebarMode,
    documentOutline_SidebarMode,
    identities_SidebarMode,
};

iDeclareWidgetClass(SidebarWidget)
iDeclareObjectConstruction(SidebarWidget)

void    setMode_SidebarWidget   (iSidebarWidget *, enum iSidebarMode mode);

enum iSidebarMode mode_SidebarWidget(const iSidebarWidget *);