00001 // 00002 // Copyright (c) 2007-2009 Google Inc. 00003 // Copyright (c) 2006-2007 Jaiku Ltd. 00004 // Copyright (c) 2002-2006 Mika Raento and Renaud Petit 00005 // 00006 // This software is licensed at your choice under either 1 or 2 below. 00007 // 00008 // 1. MIT License 00009 // 00010 // Permission is hereby granted, free of charge, to any person obtaining a copy 00011 // of this software and associated documentation files (the "Software"), to deal 00012 // in the Software without restriction, including without limitation the rights 00013 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 00014 // copies of the Software, and to permit persons to whom the Software is 00015 // furnished to do so, subject to the following conditions: 00016 // 00017 // The above copyright notice and this permission notice shall be included in 00018 // all copies or substantial portions of the Software. 00019 // 00020 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00021 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00022 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00023 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00024 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00025 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 00026 // THE SOFTWARE. 00027 // 00028 // 2. Gnu General Public license 2.0 00029 // 00030 // This program is free software; you can redistribute it and/or 00031 // modify it under the terms of the GNU General Public License 00032 // as published by the Free Software Foundation; either version 2 00033 // of the License, or (at your option) any later version. 00034 // 00035 // This program is distributed in the hope that it will be useful, 00036 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00037 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00038 // GNU General Public License for more details. 00039 // 00040 // You should have received a copy of the GNU General Public License 00041 // along with this program; if not, write to the Free Software 00042 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00043 // 00044 00045 #include "symbian_auto_ptr.hpp" 00046 00047 void CloseCBaseIndirect(TAny* aPtr) 00048 { 00049 CBase **p=(CBase**)aPtr; 00050 delete *p; 00051 } 00052 00053 void CloseHBufC16Indirect(TAny* aPtr) 00054 { 00055 HBufC16 **p=(HBufC16**)aPtr; 00056 delete *p; 00057 } 00058 00059 void CloseHBufC8Indirect(TAny* aPtr) 00060 { 00061 HBufC8 **p=(HBufC8**)aPtr; 00062 delete *p; 00063 }
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:56 2011 by Doxygen 1.6.1