1
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
3
* Copyright 2011 Canonical Ltd.
5
* This program is free software: you can redistribute it and/or modify it
6
* under the terms of the GNU Lesser General Public License version 3, as
7
* published by the Free Software Foundation.
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranties of
11
* MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
12
* PURPOSE. See the applicable version of the GNU Lesser General Public
13
* License for more details.
15
* You should have received a copy of both the GNU Lesser General Public
16
* License version 3 along with this program. If not, see
17
* <http://www.gnu.org/licenses/>
19
* Authored by: Gordon Allott <gord.allott@canonical.com>
22
#ifndef UNITYSHELL_FILTERWIDGET_H
23
#define UNITYSHELL_FILTERWIDGET_H
27
#include <UnityCore/Filter.h>
34
class FilterWidget : public nux::View
36
NUX_DECLARE_OBJECT_TYPE(FilterWidget, nux::View);
38
FilterWidget(NUX_FILE_LINE_PROTO);
39
virtual ~FilterWidget() {};
41
virtual void SetFilter(Filter::Ptr const& filter) = 0;
42
virtual std::string GetFilterType() = 0;
48
#endif //UNITYSHELL_FILTERWIDGET_H