00001 00012 /* 00013 00014 Copyright (c) 2007, Tim Burrell 00015 Licensed under the Apache License, Version 2.0 (the "License"); 00016 you may not use this file except in compliance with the License. 00017 You may obtain a copy of the License at 00018 00019 http://www.apache.org/licenses/LICENSE-2.0 00020 00021 Unless required by applicable law or agreed to in writing, software 00022 distributed under the License is distributed on an "AS IS" BASIS, 00023 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00024 See the License for the specific language governing permissions and 00025 limitations under the License. 00026 00027 */ 00028 00029 #include "GizmodLibVisualPlugin.hpp" 00030 00032 // C interface 00034 00038 GizmodLibVisualPlugin Plugin; 00039 00040 extern "C" { 00041 00045 void GizmodLibVisual_Init() { 00046 Plugin.init(); 00047 } 00048 00052 void GizmodLibVisual_CleanUp() { 00053 Plugin.shutdown(); 00054 } 00055 00062 void GizmodLibVisual_Render(float VULeft, float VURight, float VUCombined) { 00063 Plugin.render(VULeft, VURight, VUCombined); 00064 } 00065 00066 } 00067