+++ /dev/null
-// coding: utf-8\r
-// Copyright 2008 Grégory Burri\r
-//\r
-// This file is part of Euphorik.\r
-//\r
-// Euphorik is free software: you can redistribute it and/or modify\r
-// it under the terms of the GNU General Public License as published by\r
-// the Free Software Foundation, either version 3 of the License, or\r
-// (at your option) any later version.\r
-//\r
-// Euphorik is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with Euphorik. If not, see <http://www.gnu.org/licenses/>.\r
-\r
-// regroupe la partie communication \r
-// En chantier !!\r
-\r
-euphorik.Protocole = function(util) {\r
-}\r
-\r
-euphorik.Protocole.prototype.getBase = function() {\r
- this.base = {\r
- "header" : { "action" : "", "version" : euphorik.conf.versionProtocole }\r
- };\r
-}\r
-\r
-euphorik.Protocole.prototype.registerAnonyme = function(profile) {\r
- this.register(undefined, undefined, profile);\r
-}\r
-\r
-euphorik.Protocole.prototype.register = function(login, password, profile) {\r
- var base = this.getBase();\r
- if (login && password) {\r
- base.login = login;\r
- base.password = password;\r
- }\r
- base.profile = profile;\r
-}\r
-\r
-euphorik.Protocole.prototype.requete = function(action, funOk, funError) {\r
- \r
-}\r