qx.Class.define("nx4.media.MediaShow",
{
  extend:qx.core.Object,
  type:"singleton",

  construct : function()
  {

  },

  properties :
  {
    basePath : { init : null }
  },

  members :
  {
    ShowMedia : function(path)
    {
      qx.log.Logger.warn("ShowMedia is deprecated - use showMedia instead");
      return this.showMedia(path);
    },

    showMedia : function(path)
    {
      return this.getBasePath()+"bin/mediaclient/getmedia.php?mode=file&path="+path;
    },

    showResource : function(path)
    {
      return this.getBasePath()+path;
    }
  }
});

