--- /dev/null
+// coding: utf-8
+// Copyright 2008 Grégory Burri
+//
+// This file is part of Euphorik.
+//
+// Euphorik is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Euphorik is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Euphorik. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Correspond à une page html statique se nommant "<nom>.html" et se trouvant dans "/pages/".
+ */
+euphorik.PageStatique = function(nom, communication) {
+ this.nom = nom;
+ this.communication = communication;
+};
+
+euphorik.PageStatique.prototype.contenu = function() {
+ return this.communication.load("pages/" + this.nom + ".html");
+};
+
+euphorik.PageStatique.prototype.charger = function() {
+};