oleidl_comtypes.h

Go to the documentation of this file.
00001 00005 /* 00006 * Copyright © 2002 Gabriel Barta 00007 * 00008 * This material is provided "as is", with absolutely no warranty 00009 * expressed or implied. Any use is at your own risk. Permission to 00010 * use or copy this software for any purpose is hereby granted without 00011 * fee, provided the above notices are retained on all copies. 00012 * Permission to modify the code and to distribute modified code is 00013 * granted, provided the above notices are retained, and a notice that 00014 * the code was modified is included with the above copyright notice. 00015 * 00016 * This header is part of comet. 00017 * http://www.lambdasoft.dk/comet 00018 */ 00019 00020 #ifndef COMET_OLEIDL_COMTYPES_H 00021 #define COMET_OLEIDL_COMTYPES_H 00022 00023 #include <comet/interface.h> 00024 00025 namespace comet { 00026 template<> struct comtype<::IOleAdviseHolder> 00027 : public uuid_comtype<IID_IOleAdviseHolder, ::IUnknown> {} ; 00028 template<> struct comtype<::IOleCache> 00029 : public uuid_comtype<IID_IOleCache, ::IUnknown> {} ; 00030 template<> struct comtype<::IOleCache2> 00031 : public uuid_comtype<IID_IOleCache2, ::IOleCache> {} ; 00032 template<> struct comtype<::IOleCacheControl> 00033 : public uuid_comtype<IID_IOleCacheControl, ::IUnknown> {} ; 00034 template<> struct comtype<::IParseDisplayName> 00035 : public uuid_comtype<IID_IParseDisplayName, ::IUnknown> {} ; 00036 template<> struct comtype<::IOleContainer> 00037 : public uuid_comtype<IID_IOleContainer, ::IParseDisplayName> {} ; 00038 template<> struct comtype<::IOleClientSite> 00039 : public uuid_comtype<IID_IOleClientSite, ::IUnknown> {} ; 00040 template<> struct comtype<::IOleObject> 00041 : public uuid_comtype<IID_IOleObject, ::IUnknown> {} ; 00042 template<> struct comtype<::IOleWindow> 00043 : public uuid_comtype<IID_IOleWindow, ::IUnknown> {} ; 00044 template<> struct comtype<::IOleLink> 00045 : public uuid_comtype<IID_IOleLink, ::IUnknown> {} ; 00046 template<> struct comtype<::IOleItemContainer> 00047 : public uuid_comtype<IID_IOleItemContainer, ::IOleContainer> {} ; 00048 template<> struct comtype<::IOleInPlaceUIWindow> 00049 : public uuid_comtype<IID_IOleInPlaceUIWindow, ::IOleWindow> {} ; 00050 template<> struct comtype<::IOleInPlaceActiveObject> 00051 : public uuid_comtype<IID_IOleInPlaceActiveObject, ::IOleWindow> {} ; 00052 template<> struct comtype<::IOleInPlaceFrame> 00053 : public uuid_comtype<IID_IOleInPlaceFrame, ::IOleInPlaceUIWindow> {} ; 00054 template<> struct comtype<::IOleInPlaceObject> 00055 : public uuid_comtype<IID_IOleInPlaceObject, ::IOleWindow> {} ; 00056 template<> struct comtype<::IOleInPlaceSite> 00057 : public uuid_comtype<IID_IOleInPlaceSite, ::IOleWindow> {} ; 00058 template<> struct comtype<::IContinue> 00059 : public uuid_comtype<IID_IContinue, ::IUnknown> {} ; 00060 template<> struct comtype<::IViewObject> 00061 : public uuid_comtype<IID_IViewObject, ::IUnknown> {} ; 00062 template<> struct comtype<::IViewObject2> 00063 : public uuid_comtype<IID_IViewObject2, ::IViewObject> {} ; 00064 template<> struct comtype<::IDropSource> 00065 : public uuid_comtype<IID_IDropSource, ::IUnknown> {} ; 00066 template<> struct comtype<::IDropTarget> 00067 : public uuid_comtype<IID_IDropTarget, ::IUnknown> {} ; 00068 template<> struct comtype<::IEnumOLEVERB> 00069 : public uuid_comtype<IID_IEnumOLEVERB, ::IUnknown> {} ; 00070 }; 00071 00072 #endif //COMET_OLEIDL_COMTYPES_H