summaryrefslogtreecommitdiffstats
path: root/vlc-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 02:00:41 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 02:00:41 +0000
commitb46c65ad8698324e383b0c19c47a5c4a74e07409 (patch)
tree823e7c812d50840f574ac3838bdc49caabe43c7f /vlc-model.lua
parent67a1b878bde17d9b3f1bdf56dca825f27c71e8d8 (diff)
downloadacf-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-model.lua')
-rw-r--r--vlc-model.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/vlc-model.lua b/vlc-model.lua
index 3e6e5f3..d1fe1ee 100644
--- a/vlc-model.lua
+++ b/vlc-model.lua
@@ -2,7 +2,7 @@ module(..., package.seeall)
-- Load libraries
require("modelfunctions")
-require("fs")
+fs = require("acf.fs")
-- ################################################################################
-- SET VARIABLES
@@ -25,8 +25,12 @@ end
-- ################################################################################
-- PUBLIC FUNCTIONS
-function startstop_service(action)
- return modelfunctions.startstop_service(processname, action)
+function get_startstop(clientdata)
+ return modelfunctions.get_startstop(processname)
+end
+
+function startstop_service(startstop, action)
+ return modelfunctions.startstop_service(startstop, action)
end
function getstatus()