00001 //************************************************************************************************************************** 00002 //* Blue HttpMail Extension 00003 //* Copyright (c) 2003-2004 Josh Harler 00004 //* 00005 //* Blue - General Purpose C++ Library 00006 //* Copyright (c) 2002-2004 Josh Harler 00007 //* 00008 //* This software is provided 'as-is', without any express or implied warranty. In no event 00009 //* will the authors be held liable for any damages arising from the use of this software. 00010 //* 00011 //* Permission is granted to anyone to use this software for any purpose, including commercial 00012 //* applications, and to alter it and redistribute it freely, subject to the following restrictions: 00013 //* 00014 //* 1. The origin of this software must not be misrepresented; you must not claim that you 00015 //* wrote the original software. If you use this software in a product, an acknowledgment in the 00016 //* product documentation would be appreciated but is not required. 00017 //* 00018 //* 2. Altered source versions must be plainly marked as such, and must not be misrepresented as 00019 //* being the original software. 00020 //* 00021 //* 3. This notice may not be removed or altered from any source distribution. 00022 //* 00023 //* 00024 //* file Blue/Extension/HttpMail/HttpMail.h 00025 //** 00026 00027 #ifndef __blue_ext_httpmail_HttpMail_h_included__ 00028 #define __blue_ext_httpmail_HttpMail_h_included__ 00029 00030 // Public Headers ========================================================================================================== 00031 00032 // Blue library headers 00033 #include "Blue/Blue.h" 00034 00035 00036 // Public Defines/Enums/Typedefs/Etc. ====================================================================================== 00037 00038 #if defined(BLUE_EXT_HTTPMAIL) 00039 # define BLUE_EXPORT_HTTPMAIL BLUE_OBJECT_EXPORT 00040 #else 00041 # define BLUE_EXPORT_HTTPMAIL BLUE_OBJECT_IMPORT 00042 #endif 00043 00044 00045 // Public Classes/Structs ================================================================================================== 00046 00047 namespace blue { 00048 namespace ext { 00049 namespace httpmail { 00050 00056 class BLUE_EXPORT_HTTPMAIL HttpMailException :public Exception 00057 { 00058 public: 00059 HttpMailException( String desc ) 00060 :Exception(desc) {} 00061 00062 virtual String getException() const { 00063 return ("HttpMailException"); 00064 } 00065 }; 00066 00067 00068 }}} // namespaces 00069 00070 00071 // Public External Variables =============================================================================================== 00072 00073 // Public Function Prototypes ============================================================================================== 00074 00075 // Public Inline Functions ================================================================================================= 00076 00077 #endif // include guard