CERN org.glite.Gfal
2.0.1
|
00001 #pragma once 00002 #ifndef GFALMAINDECORATOR_H 00003 #define GFALMAINDECORATOR_H 00004 00005 /* 00006 * Copyright (c) Members of the EGEE Collaboration. 2004. 00007 * See http://www.eu-egee.org/partners/ for details on the copyright holders. 00008 * 00009 * Licensed under the Apache License, Version 2.0 (the "License"); 00010 * you may not use this file except in compliance with the License. 00011 * You may obtain a copy of the License at 00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.0 00014 * 00015 * Unless required by applicable law or agreed to in writing, software 00016 * distributed under the License is distributed on an "AS IS" BASIS, 00017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00018 * See the License for the specific language governing permissions and 00019 * limitations under the License. 00020 */ 00021 00022 #include <memory> 00023 #include <transfer/corelayer.h> 00024 #include <transfer/plugininterface.h> 00025 00026 namespace Gfal{ 00027 00028 class MainDecorator: public PluginFactory 00029 { 00030 public: 00031 MainDecorator(PluginFactory * core); 00032 virtual ~MainDecorator(); 00033 00034 virtual const VectorPlugin& get_plugin_links(); 00035 00036 protected: 00037 std::auto_ptr<PluginFactory> _core; 00038 }; 00039 00040 } 00041 00042 #endif /* GFALMAINDECORATOR_H */