|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2006 - 2009 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module defining common data to be used by all modules. |
|
8 """ |
|
9 |
|
10 import sys |
|
11 |
|
12 # names of the various settings objects |
|
13 settingsNameOrganization = "Eric5" |
|
14 settingsNameGlobal = "eric5" |
|
15 settingsNameRecent = "eric5recent" |
|
16 |
|
17 # key names of the various recent entries |
|
18 recentNameMultiProject = "MultiProjects" |
|
19 recentNameProject = "Projects" |
|
20 recentNameFiles = "Files" |
|
21 |
|
22 def isWindowsPlatform(): |
|
23 """ |
|
24 Function to check, if this is a Windows platform. |
|
25 |
|
26 @return flag indicating Windows platform (boolean) |
|
27 """ |
|
28 return sys.platform.startswith("win") |