Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

vos/corelibs/typechain/handlers/type_wininet.hh

Go to the documentation of this file.
00001 
00002 /* A URL handler for Windows */
00003 
00004 /*
00005     This file is part of the Virtual Object System of
00006     the Interreality project (http://interreality.org).
00007 
00008     Copyright (C) 2001, 2002 Frank Richter <resqu@gmx.ch>
00009 
00010     This library is free software; you can redistribute it and/or
00011     modify it under the terms of the GNU Lesser General Public
00012     License as published by the Free Software Foundation; either
00013     version 2 of the License, or (at your option) any later version.
00014 
00015     This library is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018     Lesser General Public License for more details.
00019 
00020     You should have received a copy of the GNU Lesser General Public
00021     License along with this library; if not, write to the Free Software
00022     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00023 */
00024 
00025 #ifndef _TYPE_WININET_HH_
00026 #define _TYPE_WININET_HH_
00027 
00028 #include <typechain/typehandler.hh>
00029 #if defined(_WIN32) && defined(_MSC_VER)
00030 # include <vos/corelibs/vosconfig-vc7.h>
00031 #else
00032 # include <vos/corelibs/vosconfig.h>
00033 #endif
00034 
00035 #ifdef HAVE_LIBWININET
00036 #include <wininet.h>
00037 #endif
00038 class TypeWinInet : public TypeHandler  {
00039 protected:
00040 #ifdef HAVE_LIBWININET
00041   HINTERNET internet;
00042 #endif
00043 public:
00044     TypeWinInet(string name);
00045     ~TypeWinInet();
00046 
00047     /** Decode data.
00048     */
00049     virtual void decode(string& data, TypeParams& params);
00050 };
00051 
00052 
00053 #endif

Generated on Tue Aug 12 03:55:38 2003 for Interreality Project - VOS by doxygen 1.3.2