diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 02:00:41 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 02:00:41 +0000 |
commit | b46c65ad8698324e383b0c19c47a5c4a74e07409 (patch) | |
tree | 823e7c812d50840f574ac3838bdc49caabe43c7f /vlc-controller.lua | |
parent | 67a1b878bde17d9b3f1bdf56dca825f27c71e8d8 (diff) | |
download | acf-vlc-daemon-b46c65ad8698324e383b0c19c47a5c4a74e07409.tar.bz2 acf-vlc-daemon-b46c65ad8698324e383b0c19c47a5c4a74e07409.tar.xz |
Started work on updating for acf-core-0.15
Removed controllerfunctions library (still needs more work and corresponding work in model)
Updated startstop functionality and deleted view
Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
Diffstat (limited to 'vlc-controller.lua')
-rw-r--r-- | vlc-controller.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vlc-controller.lua b/vlc-controller.lua index 8199735..12f0fe6 100644 --- a/vlc-controller.lua +++ b/vlc-controller.lua @@ -1,8 +1,5 @@ module(..., package.seeall) --- Load libraries -require("controllerfunctions") - mvc = {} mvc.on_load = function(self, parent) self.model.set_processname(string.match(self.conf.prefix, "[^/]+")) @@ -15,11 +12,11 @@ function status(self) end function startstop(self) - return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata) + return self.handle_form(self, self.model.get_startstop, self.model.startstop_service, self.clientdata) end function expert(self) - return controllerfunctions.handle_form(self, self.model.getconfigfile, self.model.setconfigfile, self.clientdata, "Save", "Edit Config File", "Configuration File Set") + return self.handle_form(self, self.model.getconfigfile, self.model.setconfigfile, self.clientdata, "Save", "Edit Config File", "Configuration File Set") end function logfile(self) |