added namespaces

This commit is contained in:
kremsy 2014-04-29 22:06:58 +02:00 committed by Steffen Schröder
parent e60d8ff972
commit adfecf734e
6 changed files with 15 additions and 8 deletions

View File

@ -2,7 +2,7 @@
namespace ManiaControl\Maps;
use CustomVotesPlugin;
use MCTeam\CustomVotesPlugin;
use FML\Controls\Control;
use FML\Controls\Frame;
use FML\Controls\Gauge;
@ -50,7 +50,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
const MAX_MAPS_PER_PAGE = 15;
const MAX_PAGES_PER_CHUNK = 2;
const DEFAULT_KARMA_PLUGIN = 'MCTeam\KarmaPlugin';
const DEFAULT_CUSTOM_VOTE_PLUGIN = 'CustomVotesPlugin';
const DEFAULT_CUSTOM_VOTE_PLUGIN = 'MCTeam\CustomVotesPlugin';
/*
* Private Properties

View File

@ -2,7 +2,7 @@
namespace ManiaControl\Players;
use CustomVotesPlugin;
use MCTeam\CustomVotesPlugin;
use FML\Controls\Control;
use FML\Controls\Frame;
use FML\Controls\Labels\Label_Button;
@ -56,7 +56,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
const ACTION_REVOKE_RIGHTS = 'PlayerList.RevokeRights';
const ACTION_OPEN_PLAYER_DETAILED = 'PlayerList.OpenPlayerDetailed';
const ACTION_SPECTATE_PLAYER = 'PlayerList.SpectatePlayer';
const DEFAULT_CUSTOM_VOTE_PLUGIN = 'CustomVotesPlugin';
const DEFAULT_CUSTOM_VOTE_PLUGIN = 'MCTeam\CustomVotesPlugin';
const SHOWN_MAIN_WINDOW = -1;
const MAX_PLAYERS_PER_PAGE = 15;

View File

@ -1,4 +1,5 @@
<?php
namespace MCTeam;
use ManiaControl\Commands\CommandListener;
use ManiaControl\ManiaControl;

View File

@ -1,5 +1,7 @@
<?php
namespace MCTeam;
use FML\Controls\Control;
use FML\Controls\Frame;
use FML\Controls\Gauge;

View File

@ -1,4 +1,6 @@
<?php
namespace MCTeam;
use FML\Controls\Control;
use FML\Controls\Frame;
use FML\Controls\Label;

View File

@ -1,5 +1,7 @@
<?php
namespace MCTeam;
use ManiaControl\Callbacks\CallbackListener;
use ManiaControl\Callbacks\Callbacks;
use ManiaControl\Commands\CommandListener;