summaryrefslogtreecommitdiffstats
path: root/module/api/ApiComponent.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/api/ApiComponent.py')
-rw-r--r--module/api/ApiComponent.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/module/api/ApiComponent.py b/module/api/ApiComponent.py
new file mode 100644
index 000000000..2b09d05a3
--- /dev/null
+++ b/module/api/ApiComponent.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+class ApiComponent:
+
+ def __init__(self, core):
+ # Only for auto completion, this class can not be instantiated
+ from pyload import Core
+ assert isinstance(core, Core)
+ self.core = core
+ # No instantiating!
+ raise Exception() \ No newline at end of file