~ricmm/platform-api/guards-for-null-sensors

« back to all changes in this revision

Viewing changes to include/ubuntu/application/ui/form_factor.h

* Add headers for new refactored platform API
* Implement new API for Android/hybris backend
* Implement lifecycle iteration 0 delegates infrastructure
* Do away with all old public headers and use only the new API.

Approved by Michael Frey, Ricardo Salveti, Thomas Voß, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2013 Canonical Ltd.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License version 3 as
 
6
 * published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU Lesser General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Lesser General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by: Ricardo Mendoza <ricardo.mendoza@canonical.com>
 
17
 *              Thomas Voß <thomas.voss@canonical.com>           
 
18
 */
 
19
 
 
20
#ifndef UBUNTU_APPLICATION_UI_FORM_FACTOR_H_
 
21
#define UBUNTU_APPLICATION_UI_FORM_FACTOR_H_
 
22
 
 
23
typedef enum
 
24
{
 
25
    U_DESKTOP = 0,
 
26
    U_PHONE = 1,
 
27
    U_TABLET = 2
 
28
} UAUiFormFactor;
 
29
 
 
30
#endif /* UBUNTU_APPLICATION_UI_FORM_FACTOR_H_ */