summaryrefslogtreecommitdiffstats
path: root/lib/class/localplay.abstract.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-12 07:30:55 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-12 07:30:55 +0000
commitbff9e37fa5fa41111b5b06ce6cdcb0eb8e5c21f9 (patch)
treef9f61787479b286e5ae5efb96447107c10dd553e /lib/class/localplay.abstract.php
parentc99ad11ee04fa811aaf6988a2daa0567ab6ee0d8 (diff)
downloadampache-bff9e37fa5fa41111b5b06ce6cdcb0eb8e5c21f9.tar.gz
ampache-bff9e37fa5fa41111b5b06ce6cdcb0eb8e5c21f9.tar.bz2
ampache-bff9e37fa5fa41111b5b06ce6cdcb0eb8e5c21f9.zip
more work on the localplay stuff, most details ironed out, just needs some code to back it up, also tweaked plugins and threw in some extra goodies in the preference class, also pimped out the error class
Diffstat (limited to 'lib/class/localplay.abstract.php')
-rw-r--r--lib/class/localplay.abstract.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/class/localplay.abstract.php b/lib/class/localplay.abstract.php
index 1874e390..d8e21387 100644
--- a/lib/class/localplay.abstract.php
+++ b/lib/class/localplay.abstract.php
@@ -34,11 +34,18 @@ abstract class localplay_controller {
abstract public function status();
abstract public function get_version(); // Returns the version of this plugin
abstract public function get_description(); // Returns the description
- abstract public function actions(); // Return an array of name=>link actions for the sidebar
abstract public function is_installed(); // Returns an boolean t/f
abstract public function install();
abstract public function uninstall();
+ // For display we need the following 'instance' functions
+ abstract public function add_instance($data);
+ abstract public function delete_instance($id);
+ abstract public function get_instances();
+ abstract public function instance_fields();
+ abstract public function set_active_instance($uid);
+ abstract public function get_active_instance();
+
/**
* get_url
* This returns the URL for the passed object