~sebikul/mundus/trunk

« back to all changes in this revision

Viewing changes to .src/Modules/Gsharkdown.module

  • Committer: Sebi
  • Date: 2011-12-30 00:19:12 UTC
  • Revision ID: sebikul@gmail.com-20111230001912-nq9vw47sa913kz5g
Import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
' Gambas module file
 
2
 
 
3
Public Name As String = "gSharkDown"
 
4
 
 
5
Public Executable As String = "gsharkdown"
 
6
 
 
7
Public MainDir As String = "~/.gsharkdown"
 
8
 
 
9
Public Directories As Collection = ["Configuration": "~/.gsharkdown"]
 
10
 
 
11
Public isInstalled As Boolean
 
12
 
 
13
Public HasConfig As Boolean
 
14
 
 
15
Public Sub _init()
 
16
 
 
17
  Dim State As Integer
 
18
 
 
19
  isInstalled = False
 
20
  HasConfig = False
 
21
 
 
22
  If Main.CheckProgram(Executable) Then
 
23
    isInstalled = True
 
24
  Endif
 
25
 
 
26
  If Exist(MainDir) Then
 
27
    HasConfig = True
 
28
  Endif
 
29
 
 
30
End