~ubuntu-branches/ubuntu/saucy/indicator-power/saucy-proposed

« back to all changes in this revision

Viewing changes to src/ib-brightness-control.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Charles Kerr, Ubuntu daily release
  • Date: 2013-08-21 06:06:49 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20130821060649-e1tcfvbjzf8np97i
Tags: 12.10.6+13.10.20130821-0ubuntu1
[ Charles Kerr ]
* Add a brightness slider to indicator-power's phone menu.

[ Ubuntu daily release ]
* Automatic snapshot from revision 186

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2012 Canonical Ltd.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License version 3, as published
 
6
 * by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful, but
 
9
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 
10
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
11
 * PURPOSE.  See the GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License along
 
14
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authors:
 
17
 *     Renato Araujo Oliveira Filho <renato@canonical.com>
 
18
 */
 
19
 
 
20
#ifndef __IB_BRIGHTNESS_CONTROL_H__
 
21
#define __IB_BRIGHTNESS_CONTROL_H__
 
22
 
 
23
#include <gio/gio.h>
 
24
 
 
25
typedef struct _IbBrightnessControl IbBrightnessControl;
 
26
 
 
27
IbBrightnessControl*  ib_brightness_control_new (void);
 
28
void                  ib_brightness_control_set_value (IbBrightnessControl* self, gint value);
 
29
gint                  ib_brightness_control_get_value (IbBrightnessControl* self);
 
30
gint                  ib_brightness_control_get_max_value (IbBrightnessControl* self);
 
31
void                  ib_brightness_control_free (IbBrightnessControl *self);
 
32
 
 
33
#endif