|
reSIProcate/DialogUsageManager
9680
|
00001 #include "resip/dum/AppDialog.hxx" 00002 #include "resip/dum/AppDialogSet.hxx" 00003 #include "resip/dum/BaseUsage.hxx" 00004 #include "resip/dum/Dialog.hxx" 00005 #include "resip/dum/DialogSet.hxx" 00006 #include "resip/dum/DialogUsageManager.hxx" 00007 #include "rutil/Logger.hxx" 00008 00009 #define RESIPROCATE_SUBSYSTEM Subsystem::DUM 00010 00011 using namespace resip; 00012 00013 BaseUsage::Exception::Exception(const Data& msg,const Data& file,int line) 00014 : BaseException(msg, file, line) 00015 { 00016 } 00017 00018 const char* 00019 BaseUsage::Exception::name() const 00020 { 00021 return "BaseUsage::Exception"; 00022 } 00023 00024 BaseUsage::BaseUsage(DialogUsageManager& dum) : 00025 Handled(dum), 00026 mDum(dum), 00027 mHandle(dum, mId) 00028 { 00029 } 00030 00031 BaseUsage::~BaseUsage() 00032 { 00033 } 00034 00035 BaseUsageHandle 00036 BaseUsage::getBaseHandle() 00037 { 00038 return mHandle; 00039 } 00040 00041 #if 0 00042 EncodeStream& 00043 BaseUsage::dump(EncodeStream& strm) const 00044 { 00045 strm << "BaseUsage: " << mId; 00046 return strm; 00047 } 00048 #endif 00049 00050 00051 /* ==================================================================== 00052 * The Vovida Software License, Version 1.0 00053 * 00054 * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. 00055 * 00056 * Redistribution and use in source and binary forms, with or without 00057 * modification, are permitted provided that the following conditions 00058 * are met: 00059 * 00060 * 1. Redistributions of source code must retain the above copyright 00061 * notice, this list of conditions and the following disclaimer. 00062 * 00063 * 2. Redistributions in binary form must reproduce the above copyright 00064 * notice, this list of conditions and the following disclaimer in 00065 * the documentation and/or other materials provided with the 00066 00067 * distribution. 00068 * 00069 * 3. The names "VOCAL", "Vovida Open Communication Application Library", 00070 * and "Vovida Open Communication Application Library (VOCAL)" must 00071 * not be used to endorse or promote products derived from this 00072 * software without prior written permission. For written 00073 * permission, please contact vocal@vovida.org. 00074 * 00075 * 4. Products derived from this software may not be called "VOCAL", nor 00076 * may "VOCAL" appear in their name, without prior written 00077 * permission of Vovida Networks, Inc. 00078 * 00079 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED 00080 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00081 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND 00082 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA 00083 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES 00084 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL, 00085 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00086 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00087 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 00088 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00089 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 00090 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 00091 * DAMAGE. 00092 * 00093 * ==================================================================== 00094 * 00095 * This software consists of voluntary contributions made by Vovida 00096 * Networks, Inc. and many individuals on behalf of Vovida Networks, 00097 * Inc. For more information on Vovida Networks, Inc., please see 00098 * <http://www.vovida.org/>. 00099 * 00100 */
1.7.5.1