SF.net SVN: fclient: [267] trunk/sandbox/fcp2/consts.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <ju...@us...> - 2008-02-26 14:43:42
|
Revision: 267
http://fclient.svn.sourceforge.net/fclient/?rev=267&view=rev
Author: jurner
Date: 2008-02-26 06:43:43 -0800 (Tue, 26 Feb 2008)
Log Message:
-----------
added Fcp ConfigValueClass and ConfigDataType consts
Modified Paths:
--------------
trunk/sandbox/fcp2/consts.py
Modified: trunk/sandbox/fcp2/consts.py
===================================================================
--- trunk/sandbox/fcp2/consts.py 2008-02-26 14:42:33 UTC (rev 266)
+++ trunk/sandbox/fcp2/consts.py 2008-02-26 14:43:43 UTC (rev 267)
@@ -36,6 +36,45 @@
# errors
+class ConfigValueClass:
+ """Value classes Fcp passes in config messages"""
+
+ Current = 'current'
+ Default = 'default'
+ ExpertFlag = 'expertFlag'
+ ForceWriteFlag = 'forceWriteFlag'
+ ShortDescription = 'shortDescription'
+ LongDescription = 'longDescription'
+ SortOrder = 'sortOrder'
+ DataType = 'dataType'
+
+ ClassesAll = (
+ Current,
+ Default,
+ ExpertFlag,
+ ForceWriteFlag,
+ ShortDescription,
+ LongDescription,
+ SortOrder,
+ DataType,
+ )
+
+
+class ConfigDataType:
+ """Basic data types in config messages"""
+ Boolean = 'boolean'
+ Number = 'number'
+ String = 'string'
+ StringArray = 'atringArray'
+
+ TypesAll = (
+ Boolean,
+ Number,
+ String,
+ StringArray,
+ )
+
+
class FetchError(Exception):
"""All fetch errors supported by the client"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|