~rsalveti/+junk/platform-api-mir

« back to all changes in this revision

Viewing changes to src/mircommon/session_mir.cpp

  • Committer: Ricardo Mendoza
  • Date: 2013-06-14 21:33:34 UTC
  • mfrom: (61.3.66 mir)
  • Revision ID: ricardo.mendoza@canonical.com-20130614213334-mzcv4cmf3j47rihc
Enable Mir in packaging

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 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: Robert Carr <robert.carr@canonical.com>
 
17
 */
 
18
 
 
19
#include <ubuntu/application/ui/session.h>
 
20
 
 
21
// TODO<papi>: Not sure what this should do for mir. ApplicationInstance maps to the mir
 
22
// concept of a session and this doesn't really seem to be used
 
23
 
 
24
extern "C"
 
25
{
 
26
 
 
27
UAUiSession* ua_ui_session_new_with_properties(UAUiSessionProperties *properties)
 
28
{
 
29
    return nullptr;
 
30
}
 
31
    
 
32
UAUiSessionProperties* ua_ui_session_properties_new()
 
33
{
 
34
    return nullptr;
 
35
}
 
36
   
 
37
void ua_ui_session_properties_set_type(UAUiSessionProperties* properties,
 
38
    UAUiSessionType type)
 
39
{
 
40
    (void) properties;
 
41
    (void) type;
 
42
}
 
43
}