#------------------------------------------------------------
# Copyright (C) 2006 RoyaltyShare, Inc.   All Rights Reserved
#------------------------------------------------------------
package MediaServe::App;

use strict;
use warnings;
use Data::Dumper;

use lib '/app/tools/common/lib';
use Common::Assert;

use RSApache::RSWebApp;
use base 'RSApache::RSWebApp';

my %gCommandMap = (

    # ---- User Commands ---- #
    'img' => {
        'show' => 'MediaServe::Image::Command::Serve',
    },
    'audio' => {
        'show' => 'MediaServe::Audio::Command::Serve',
    },
);

sub _getCommandMap {
    my ($self) = @_;
    return \%gCommandMap;
}

# Media serve doesn't support the area/app/cmd url so we will noop this method
sub _parseCommand { 'show' }

1;
