~ubuntu-branches/ubuntu/precise/gwibber/precise-proposed

« back to all changes in this revision

Viewing changes to lens/src/schemas.vala

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-07-15 17:14:14 UTC
  • mto: This revision was merged to the branch mainline in revision 80.
  • Revision ID: james.westby@ubuntu.com-20110715171414-80ca971vzd56gtmh
Tags: upstream-3.1.2
ImportĀ upstreamĀ versionĀ 3.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2011 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
 * Authored by Ken VanDine <ken.vandine@canonical.com>
 
17
 */
 
18
 
 
19
namespace Gwibber {
 
20
 
 
21
  /* Canonical schema for the results model shared with the Unity shell */
 
22
  public enum ResultsColumn
 
23
  {
 
24
    URI = 0,
 
25
    ICON_HINT,
 
26
    GROUP_ID,
 
27
    MIMETYPE,
 
28
    DISPLAY_NAME,
 
29
    COMMENT
 
30
  }
 
31
  
 
32
  /* Canonical schema for the sections model shared with the Unity shell */
 
33
  public enum SectionsColumn
 
34
  {
 
35
    DISPLAY_NAME = 0,
 
36
    ICON_HINT
 
37
  }
 
38
  
 
39
  /* Place specific set of sections. The enum value maps to the row index
 
40
   * in the sections model */
 
41
  public enum Section
 
42
  {
 
43
    ALL = 0,
 
44
    MESSAGES,
 
45
    REPLIES,
 
46
    IMAGES,
 
47
    VIDEOS,
 
48
    LINKS,
 
49
    PRIVATE,
 
50
    PUBLIC
 
51
  }
 
52
  
 
53
  /* Canonical schema for the groups model shared with the Unity shell */
 
54
  public enum GroupsColumn
 
55
  {
 
56
    RENDERER = 0,
 
57
    DISPLAY_NAME,
 
58
    ICON_HINT
 
59
  }
 
60
  
 
61
  /* Place specific set of groups. The enum value maps to the row index in
 
62
   * the groups model */
 
63
  public enum Group
 
64
  {
 
65
    ALL,
 
66
    MESSAGES,
 
67
    REPLIES,
 
68
    IMAGES,
 
69
    VIDEOS,
 
70
    LINKS,
 
71
    PRIVATE,
 
72
    PUBLIC
 
73
  }
 
74
 
 
75
} /* end Gwibber namespace */