[Affelio-cvs 889] CVS update: affelio/lib

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 12月 17日 (土) 04:50:00 JST


Index: affelio/lib/Affelio.pm
diff -u affelio/lib/Affelio.pm:1.32 affelio/lib/Affelio.pm:1.33
--- affelio/lib/Affelio.pm:1.32	Fri Dec 16 19:24:54 2005
+++ affelio/lib/Affelio.pm	Sat Dec 17 04:50:00 2005
@@ -14,7 +14,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
-# $Id: Affelio.pm,v 1.32 2005/12/16 10:24:54 slash5234 Exp $
+# $Id: Affelio.pm,v 1.33 2005/12/16 19:50:00 slash5234 Exp $
 
 package Affelio;
 {
@@ -27,15 +27,6 @@
     use Error qw(:try);
     use lib("../lib");
     use Affelio::SNS::FriendManager;
-    use Affelio::Managing::ProfileManager;
-    use Affelio::Managing::GroupManager;
-    use Affelio::Managing::PermissionManager;
-    use Affelio::Managing::MessageManager;
-    use Affelio::Managing::ApplicationManager;
-    use Affelio::Managing::AccessLogManager;
-    use Affelio::Managing::NewsAggregator;
-    use Affelio::Managing::MyNewsManager;
-    use Affelio::Managing::SessionManager;
     use Affelio::misc::Debug;
     use Affelio::misc::L10N;
     use Affelio::misc::WebInput;
@@ -218,7 +209,6 @@
 	return($self->{db});
     }
 
-
     ######################################################################
     #openDB
     ######################################################################
@@ -349,6 +339,8 @@
     #load_ProfileManager
     ######################################################################
     sub load_ProfileManager{
+	require Affelio::Managing::ProfileManager;
+
 	my $self = shift;
 	try{
 	    $self->{pm} = new Affelio::Managing::ProfileManager($self,
@@ -378,6 +370,8 @@
     #load_SessionManager
     ######################################################################
     sub load_SessionManager{
+	require Affelio::Managing::SessionManager;
+
 	my $self = shift;
 	try{
 	    $self->{sm} = new Affelio::Managing::SessionManager($self);
@@ -404,6 +398,8 @@
     #load_NewsAggregator
     ######################################################################
     sub load_NewsAggregator{
+	require Affelio::Managing::NewsAggregator;
+
 	my $self = shift;
 	try{
 	    $self->{nghr_news} = new Affelio::Managing::NewsAggregator($self);
@@ -431,6 +427,8 @@
     #load_MyNewsManager
     ######################################################################
     sub load_MyNewsManager{
+	require Affelio::Managing::MyNewsManager;
+
 	my $self = shift;
 	try{
 	    $self->{my_news} = new Affelio::Managing::MyNewsManager($self);
@@ -456,6 +454,8 @@
     #load_FriendManager
     ######################################################################
     sub load_FriendManager{
+	require Affelio::SNS::FriendManager;
+
 	my $self = shift;
 	try{
 	    $self->{fm} = new Affelio::SNS::FriendManager($self);
@@ -483,6 +483,8 @@
     #load_GroupManager
     ######################################################################
     sub load_GroupManager{
+	require Affelio::Managing::GroupManager;
+
 	my $self = shift;
 	try{
 	    $self->{gm} = new Affelio::Managing::GroupManager($self);
@@ -512,6 +514,8 @@
     #load_PermissionManager
     ######################################################################
     sub load_PermissionManager{
+	require Affelio::Managing::PermissionManager;
+
 	my $self = shift;
 	try{
 	    $self->{perm} = new Affelio::Managing::PermissionManager($self);
@@ -540,6 +544,8 @@
     #load_MessageManager
     ######################################################################
     sub load_MessageManager{
+	require Affelio::Managing::MessageManager;
+
 	my $self = shift;
 	try{
 	    $self->{mesgm} = new Affelio::Managing::MessageManager($self);
@@ -569,6 +575,8 @@
     #load_AccessLogManager
     ######################################################################
     sub load_AccessLogManager{
+	require Affelio::Managing::AccessLogManager;
+
 	my $self = shift;
 	try{
 	    $self->{alm} = new Affelio::Managing::AccessLogManager($self);
@@ -598,6 +606,8 @@
     #load_ApplicationManager
     ######################################################################
     sub load_ApplicationManager{
+	require Affelio::Managing::ApplicationManager;
+
 	my $self = shift;
 	try{
 	    ###########################


Affelio-cvs メーリングリストの案内
Back to archive index