summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-11-11 22:03:41 +0100
committerAraq <rumpf_a@web.de>2012-11-11 22:03:41 +0100
commit48a62af3b13015cc7eda194b9f6ec7e194456e74 (patch)
treefc8b0be321a4461fbdc51c94415ca681a8ddee5a /lib
parenta31a5f9c810948b232356b7fe225b238dad0d6d6 (diff)
downloadNim-48a62af3b13015cc7eda194b9f6ec7e194456e74.tar.gz
implemented 'tags' pragma
Diffstat (limited to 'lib')
-rwxr-xr-xlib/system.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim
index b4e552701..5a4c491e1 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -209,6 +209,16 @@ type
            ## objects that have no ancestor are allowed.
   PObject* = ref TObject ## reference to TObject
 
+  TEffect* {.compilerproc.} = object of TObject ## \
+    ## base effect class; each effect should
+    ## inherit from `TEffect` unless you know what
+    ## you doing.
+  FTime* = object of TEffect   ## Time effect.
+  FIO* = object of TEffect     ## IO effect.
+  FReadIO* = object of FIO     ## Effect describing a read IO operation.
+  FWriteIO* = object of FIO    ## Effect describing a write IO operation.
+  FExecIO* = object of FIO     ## Effect describing an executing IO operation.
+
   E_Base* {.compilerproc.} = object of TObject ## base exception class;
                                                ## each exception has to
                                                ## inherit from `E_Base`.