[vlma-devel] commit: Allow the addition of a streamAdapter to the servers. ( Adrien Maglo )

git version control git at videolan.org
Tue May 20 14:38:05 CEST 2008


vlma | branch: master | Adrien Maglo <magsoft at videolan.org> | Tue May 20 14:26:14 2008 +0200| [0f225dcfc401c8c7cf17cca2bc8a76f0aa0d98c1]

Allow the addition of a streamAdapter to the servers.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=0f225dcfc401c8c7cf17cca2bc8a76f0aa0d98c1
---

 .../vlma/web/server/ServersAdapterAdd.java         |    2 ++
 .../jsp/servers/serversadapteradd_right.jsp        |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServersAdapterAdd.java b/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServersAdapterAdd.java
index 5b42d30..152e96a 100644
--- a/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServersAdapterAdd.java
+++ b/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServersAdapterAdd.java
@@ -73,6 +73,8 @@ public class ServersAdapterAdd {
             return org.videolan.vlma.model.adapter.DVBTAdapter.class.getName();
         } else if (type.equals("Files-Adapter")) {
             return org.videolan.vlma.model.adapter.FilesAdapter.class.getName();
+        } else if (type.equals("Stream-Adapter")) {
+            return org.videolan.vlma.model.adapter.StreamAdapter.class.getName();
         }
         return type;
     }
diff --git a/vlma-webapp/src/main/webapp/WEB-INF/jsp/servers/serversadapteradd_right.jsp b/vlma-webapp/src/main/webapp/WEB-INF/jsp/servers/serversadapteradd_right.jsp
index d0afc53..b1e2a18 100644
--- a/vlma-webapp/src/main/webapp/WEB-INF/jsp/servers/serversadapteradd_right.jsp
+++ b/vlma-webapp/src/main/webapp/WEB-INF/jsp/servers/serversadapteradd_right.jsp
@@ -38,6 +38,7 @@ function toggleGetSatellite() {
                     <option>DVB-S</option>
                     <option>DVB-T</option>
                     <option>Files-Adapter</option>
+                    <option>Stream-Adapter</option>
                 </select>
             </td>
             <td><span class="error"><c:out



More information about the vlma-devel mailing list