aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/io-mediator.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/mediators/io-mediator.js')
-rw-r--r--js/mediators/io-mediator.js35
1 files changed, 30 insertions, 5 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index b392a065..8d0a671e 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -6,17 +6,42 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
6 6
7//////////////////////////////////////////////////////////////////////// 7////////////////////////////////////////////////////////////////////////
8// 8//
9var Montage = require("montage/core/core").Montage, 9var Montage = require("montage/core/core").Montage,
10 FileIo = require("js/io/system/fileio").FileIo, 10 FileIo = require("js/io/system/fileio").FileIo,
11 ProjectIo = require("js/io/system/projectio").ProjectIo; 11 ProjectIo = require("js/io/system/projectio").ProjectIo;
12//////////////////////////////////////////////////////////////////////// 12////////////////////////////////////////////////////////////////////////
13// 13//
14exports.IoMediator = Montage.create(Object.prototype, { 14exports.IoMediator = Montage.create(Object.prototype, {
15 //////////////////////////////////////////////////////////////////// 15 ////////////////////////////////////////////////////////////////////
16 // 16 //
17 name: { 17 fileNew: {
18 enumerable: false, 18 enumerable: false,
19 value: function () { 19 value: function (file, template, callback) {
20 //
21
22 }
23 },
24 ////////////////////////////////////////////////////////////////////
25 //
26 fileOpen: {
27 enumerable: false,
28 value: function (file, callback) {
29 //
30 }
31 },
32 ////////////////////////////////////////////////////////////////////
33 //
34 fileSave: {
35 enumerable: false,
36 value: function (file, callback) {
37 //
38 }
39 },
40 ////////////////////////////////////////////////////////////////////
41 //
42 fileSaveAs: {
43 enumerable: false,
44 value: function (file, copy, callback) {
20 // 45 //
21 } 46 }
22 } 47 }