~brandontschaefer/unity/lp.1237132-fix

« back to all changes in this revision

Viewing changes to shutdown/pch/shutdown_pch.hh

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2013-03-08 12:46:41 UTC
  • mfrom: (3144.4.85 shutdown-view)
  • Revision ID: tarmac-20130308124641-z4d1y795mythghvf
Session: added a SessionController and View. Use the GnomeSessionManager to perform session actions

Such as suspend, hibernate, logout, lockscreen, reboot and shutdown.

Video: http://youtu.be/h_qqjOMGlrI. Fixes: https://bugs.launchpad.net/bugs/882041, https://bugs.launchpad.net/bugs/1152374.

Approved by PS Jenkins bot, Brandon Schaefer.

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: Jussi Pakkanen <jussi.pakkanen@canonical.com>
 
18
 */
 
19
 
 
20
/*
 
21
 * These are the precompiled header includes for this module.
 
22
 * Only system header files can be listed here.
 
23
 */
 
24
 
 
25
#include <memory>
 
26
 
 
27
#include <Nux/Nux.h>
 
28
#include <NuxCore/Property.h>
 
29
#include <UnityCore/GnomeSessionManager.h>