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

use strict;
use warnings;

use lib '/app/tools/common/lib';
use Common::Assert;
use RSApache::RSWebApp;
use base 'RSApache::RSWebApp';

my %gCommandMap = (

    # ---- User Commands ---- #
    'main' => {
        'DEFAULT'  => 'Corp::Main',
    },
    'services' => {
        'DEFAULT'   => 'Corp::Services::Main',
        'royalties' => 'Corp::Services::Royalties',
        'content'   => 'Corp::Services::Content',
        'dsm'       => 'Corp::Services::DSM',
        'bookpub'   => 'Corp::Services::BookPub',
    },   
    'customers' => {
        'DEFAULT'         => 'Corp::Customers::Main',
        'virtual_label'   => 'Corp::Customers::VirtualLabel',
        'kill_rock_stars' => 'Corp::Customers::KillRockStars',     
    }, 
    'company' => {
        'DEFAULT'   => 'Corp::Company::Main',
        'executive' => 'Corp::Company::Executive',
        'board'     => 'Corp::Company::Board',
        'office'    => 'Corp::Company::Office',
        'news'      => 'Corp::Company::News',
        'jobs'      => 'Corp::Company::Jobs',        
    },  
    'press' => {
        'DEFAULT' => 'Corp::Press::Main',
        'release' => 'Corp::Press::Release',
    },  
    'contact' => {
        'DEFAULT'  => 'Corp::Contact::Command::Edit',
    },   
    'bsd' => {
        'DEFAULT'  => 'Corp::BSD::Main',
    },                 

);

sub _getCommandMap {
    my ($self) = @_;

    return \%gCommandMap;
}

1;
