~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to src/conf/apps.py

  • Committer: mattgiuca
  • Date: 2007-12-16 23:02:54 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:67
doc: Added app_howto doc, a guide on IVLE apps interface.
        Added Makefile for this directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# IVLE Configuration File
 
2
# conf/apps.py
 
3
# Configuration of plugin applications for IVLE
 
4
# These should not need to be modified by admins unless new applications are
 
5
# plugged in.
 
6
 
 
7
# Allow App objects
 
8
class App:
 
9
    def __init__(self, dir, name, requireauth = True, hashelp = False):
 
10
        self.dir = dir
 
11
        self.name = name
 
12
        self.requireauth = requireauth
 
13
        self.hashelp = hashelp
 
14
 
 
15
# Application definitions
 
16
 
 
17
app_dummy =     App(dir = "dummy",
 
18
                    name = "My Dummy App",
 
19
                    requireauth = True,
 
20
                    hashelp = True)
 
21
 
 
22
app_server =    App(dir = "server",
 
23
                    name = "Server",
 
24
                    requireauth = False,
 
25
                    hashelp = False)
 
26
 
 
27
app_help =      App(dir = "help",
 
28
                    name = "Help",
 
29
                    requireauth = True,
 
30
                    hashelp = False)
 
31
 
 
32
# Mapping URL names to apps
 
33
 
 
34
app_url = {
 
35
    "dummy" : app_dummy,
 
36
    "serve" : app_server,
 
37
    "help" : app_help,
 
38
}
 
39
 
 
40
# List of apps that go in the tabs at the top
 
41
# (The others are hidden unless they are linked to)
 
42
# Note: The values in this list are the URL names as seen in app_url.
 
43
 
 
44
apps_in_tabs = ["dummy", "help"]