~jaytaoko/unity/unity.coverflow.fix

« back to all changes in this revision

Viewing changes to UnityCore/AppmenuIndicator.cpp

  • Committer: Jay Taoko
  • Date: 2012-06-14 18:07:29 UTC
  • mfrom: (1897.2.513 unity)
  • Revision ID: jay.taoko@canonical.com-20120614180729-mk56rx7i432uteok
Fixing Coverflow

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 (C) 2012 Canonical Ltd
 
4
 *
 
5
 * This program is free software: you can redistribute it and/or modify
 
6
 * it under the terms of the GNU 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,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
 *
 
17
 * Authored by: Marco Trevisan (Treviño) <3v1n0@ubuntu.com>
 
18
 */
 
19
 
 
20
#include "AppmenuIndicator.h"
 
21
 
 
22
namespace unity
 
23
{
 
24
namespace indicator
 
25
{
 
26
 
 
27
AppmenuIndicator::AppmenuIndicator(std::string const& name)
 
28
  : Indicator(name)
 
29
{}
 
30
 
 
31
void AppmenuIndicator::ShowAppmenu(unsigned int xid, int x, int y, unsigned int timestamp) const
 
32
{
 
33
  on_show_appmenu.emit(xid, x, y, timestamp);
 
34
}
 
35
 
 
36
} // namespace indicator
 
37
} // namespace unity