summaryrefslogtreecommitdiffstats
path: root/Py_Load_File.py
diff options
context:
space:
mode:
authorGravatar sebnapi <devnull@localhost> 2009-05-10 20:53:15 +0200
committerGravatar sebnapi <devnull@localhost> 2009-05-10 20:53:15 +0200
commit8f47147edd599a59b13d1c4602995971afb6b9df (patch)
tree465eb4e5e82734e1c32e9a44985131337eae0e19 /Py_Load_File.py
parentnew plugin-sys (diff)
downloadpyload-8f47147edd599a59b13d1c4602995971afb6b9df.tar.xz
Py_load_File in own file
Diffstat (limited to 'Py_Load_File.py')
-rw-r--r--Py_Load_File.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/Py_Load_File.py b/Py_Load_File.py
new file mode 100644
index 000000000..d5427ae24
--- /dev/null
+++ b/Py_Load_File.py
@@ -0,0 +1,18 @@
+from download_thread import Status
+
+class PyLoadFile:
+ """ represents the url or file
+ """
+ def __init__(self, parent, url):
+ self.parent = parent
+ self.id = None
+ self.plugin = None
+ self.url = url
+ self.download_folder = ""
+ self.status = Status()
+
+ def _get_my_plugin():
+ plugins = parent.get_avail_plugins()
+
+
+ \ No newline at end of file