~3v1n0/unity/overlay-border-scale

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/FilterWidget.h

  • Committer: Daniel van Vugt
  • Date: 2012-03-14 06:24:18 UTC
  • mfrom: (2108 unity)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: daniel.van.vugt@canonical.com-20120314062418-nprucpbr0m7qky5e
MergedĀ latestĀ lp:unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
2
 
/*
3
 
 * Copyright 2011 Canonical Ltd.
4
 
 *
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.
8
 
 *
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.
14
 
 *
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/>
18
 
 *
19
 
 * Authored by: Gordon Allott <gord.allott@canonical.com>
20
 
 *
21
 
 */
22
 
#ifndef UNITYSHELL_FILTERWIDGET_H
23
 
#define UNITYSHELL_FILTERWIDGET_H
24
 
 
25
 
#include <Nux/Nux.h>
26
 
#include <Nux/View.h>
27
 
#include <UnityCore/Filter.h>
28
 
 
29
 
namespace unity
30
 
{
31
 
namespace dash
32
 
{
33
 
 
34
 
class FilterWidget : public nux::View
35
 
{
36
 
  NUX_DECLARE_OBJECT_TYPE(FilterWidget, nux::View);
37
 
public:
38
 
  FilterWidget(NUX_FILE_LINE_PROTO);
39
 
  virtual ~FilterWidget() {};
40
 
 
41
 
  virtual void SetFilter(Filter::Ptr const& filter) = 0;
42
 
  virtual std::string GetFilterType() = 0;
43
 
};
44
 
 
45
 
} // namespace dash
46
 
} // namespace unity
47
 
 
48
 
#endif //UNITYSHELL_FILTERWIDGET_H