Author: dylan
Date: 2004-12-17 00:07:04 -0500 (Fri, 17 Dec 2004)
New Revision: 425
Added:
trunk/main/server/lib/Haver/Server/Event.pm
Removed:
trunk/main/server/lib/Haver/Server/Commands.pm
Log:
Haver::Server::Event is the base for Haver::Server::Event::* modules.
Deleted: trunk/main/server/lib/Haver/Server/Commands.pm
===================================================================
--- trunk/main/server/lib/Haver/Server/Commands.pm 2004-12-17 05:06:23 UTC
(rev 424)
+++ trunk/main/server/lib/Haver/Server/Commands.pm 2004-12-17 05:07:04 UTC
(rev 425)
@@ -1,39 +0,0 @@
-# vim: set ft=perl ts=4 sw=4:
-# Commands - description
-#
-# Copyright (C) 2004 Dylan William Hardison.
-#
-# This module is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This module is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this module; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-package Haver::Server::Commands;
-use strict;
-use warnings;
-
-our $VERSION = '0.01';
-
-sub setup {
- my $me = shift;
-
- if (ref($me) eq __PACKAGE__) {
- croak __PACKAGE__ . " is a virtual base class!";
- }
-
- $me->SUPER::setup();
- $me->provide_prefix_both('cmd_', $me->commands);
-}
-
-
-
-1;
-
Copied: trunk/main/server/lib/Haver/Server/Event.pm (from rev 410,
trunk/main/server/lib/Haver/Server/Commands.pm)